]> granicus.if.org Git - shadow/log
shadow
16 years agoI forgot to open and close gshadow.
nekral-guest [Sat, 29 Dec 2007 17:34:02 +0000 (17:34 +0000)]
I forgot to open and close gshadow.

16 years agoAdded support for gshadow.
nekral-guest [Sat, 29 Dec 2007 17:26:28 +0000 (17:26 +0000)]
Added support for gshadow.

16 years agoDo not add the new user to the group's members, because the group is already
nekral-guest [Sat, 29 Dec 2007 17:05:13 +0000 (17:05 +0000)]
Do not add the new user to the group's members, because the group is already
the primary group of the new user.

16 years agoAvoid variables with the name of a type.
nekral-guest [Sat, 29 Dec 2007 14:52:35 +0000 (14:52 +0000)]
Avoid variables with the name of a type.

16 years agoAvoid assignments in comparisons.
nekral-guest [Sat, 29 Dec 2007 14:48:33 +0000 (14:48 +0000)]
Avoid assignments in comparisons.

16 years agoAvoid implicit brackets and re-indent.
nekral-guest [Sat, 29 Dec 2007 14:34:39 +0000 (14:34 +0000)]
Avoid implicit brackets and re-indent.

16 years agoBefore pam_end(), the return value of the previous
nekral-guest [Sat, 29 Dec 2007 14:17:06 +0000 (14:17 +0000)]
Before pam_end(), the return value of the previous
pam API was already checked. No need to validate it again.

16 years agonewusers cleanups
nekral-guest [Sat, 29 Dec 2007 14:11:54 +0000 (14:11 +0000)]
newusers cleanups
main() split in new functions: process_flags(), check_flags(), check_perms(),
open_files(), and close_files().

16 years agoAvoid assignments in comparisons.
nekral-guest [Sat, 29 Dec 2007 11:34:31 +0000 (11:34 +0000)]
Avoid assignments in comparisons.

16 years agoRe-indent.
nekral-guest [Sat, 29 Dec 2007 11:19:39 +0000 (11:19 +0000)]
Re-indent.

16 years ago * Avoid implicit brackets.
nekral-guest [Sat, 29 Dec 2007 11:06:35 +0000 (11:06 +0000)]
 * Avoid implicit brackets.
 * Avoid implicit conversion to booleans.

16 years agoRemove dead code. It was probably put here to add more
nekral-guest [Sat, 29 Dec 2007 10:50:03 +0000 (10:50 +0000)]
Remove dead code. It was probably put here to add more
information to the audit_logger.

16 years agoAvoid using a variable with the same name as a type.
nekral-guest [Sat, 29 Dec 2007 10:47:04 +0000 (10:47 +0000)]
Avoid using a variable with the same name as a type.

16 years agochage cleanups
nekral-guest [Sat, 29 Dec 2007 10:42:25 +0000 (10:42 +0000)]
chage cleanups
* src/chage.c: Before pam_end(), the return value of the previous
pam API was already checked. No need to validate it again.
* src/chage.c: main() split in new functions: process_flags(),
check_flags(), check_perms(), open_files(), and close_files().

16 years ago * src/chgpasswd.c: Avoid assignments in comparisons.
nekral-guest [Fri, 28 Dec 2007 23:14:59 +0000 (23:14 +0000)]
* src/chgpasswd.c: Avoid assignments in comparisons.
* src/chgpasswd.c: Avoid implicit brackets.
* src/chgpasswd.c: Fix comments to match chgpasswd (group instead of
user's passwords are changed).

Fix the previous ChangeLog entries regarding chgpasswd.

16 years agoSame changes as for chpasswd:
nekral-guest [Fri, 28 Dec 2007 22:59:17 +0000 (22:59 +0000)]
Same changes as for chpasswd:
* src/chpasswd.c: main() split in process_flags(), check_flags(),
check_perms(), open_files(), and close_files().

16 years agoSame changes as for chpasswd:
nekral-guest [Fri, 28 Dec 2007 22:54:35 +0000 (22:54 +0000)]
Same changes as for chpasswd:
* src/chpasswd.c: main() split in process_flags(), check_flags(),
check_perms(), open_files(), and close_files().

16 years agoAvoid implicit brackets.
nekral-guest [Fri, 28 Dec 2007 22:34:14 +0000 (22:34 +0000)]
Avoid implicit brackets.

16 years agoRe-indent.
nekral-guest [Fri, 28 Dec 2007 22:31:45 +0000 (22:31 +0000)]
Re-indent.

16 years agoRe-indent.
nekral-guest [Fri, 28 Dec 2007 22:30:02 +0000 (22:30 +0000)]
Re-indent.

16 years agoAvoid assignments in comparisons.
nekral-guest [Fri, 28 Dec 2007 22:24:02 +0000 (22:24 +0000)]
Avoid assignments in comparisons.

16 years agoOther new functions: open_files(), close_files().
nekral-guest [Fri, 28 Dec 2007 22:18:55 +0000 (22:18 +0000)]
Other new functions: open_files(), close_files().
This force flushing the password database after the password file is unlocked.

16 years agoNew functions: process_flags(), check_flags(),
nekral-guest [Fri, 28 Dec 2007 22:05:51 +0000 (22:05 +0000)]
New functions: process_flags(), check_flags(),
check_perms(). Split out of main().

16 years agoBefore pam_end(), the return value of the previous
nekral-guest [Fri, 28 Dec 2007 21:29:06 +0000 (21:29 +0000)]
Before pam_end(), the return value of the previous
pam API was already checked. No need to validate it again.

16 years agoNew function check_flags(). Split the validation of
nekral-guest [Fri, 28 Dec 2007 21:04:04 +0000 (21:04 +0000)]
New function check_flags(). Split the validation of
options and arguments out of process_flags.

16 years ago(main, check_perms): New function check_perms().
nekral-guest [Fri, 28 Dec 2007 20:46:24 +0000 (20:46 +0000)]
(main, check_perms): New function check_perms().
Split the validation of the user's permissions out of main()

16 years ago(main): Before pam_end(), the return value of the previous pam API was already
nekral-guest [Fri, 28 Dec 2007 20:40:59 +0000 (20:40 +0000)]
(main): Before pam_end(), the return value of the previous pam API was already
checked. No need to validate it again.

16 years agoRe-indent.
nekral-guest [Fri, 28 Dec 2007 20:35:05 +0000 (20:35 +0000)]
Re-indent.

16 years ago(process_flags): prefer fail_exit to exit. This avoid
nekral-guest [Fri, 28 Dec 2007 19:15:14 +0000 (19:15 +0000)]
(process_flags): prefer fail_exit to exit. This avoid
an explicit call to audit_logger().

16 years agoI forgot the initialization of group_id in find_new_gid().
nekral-guest [Fri, 28 Dec 2007 19:08:33 +0000 (19:08 +0000)]
I forgot the initialization of group_id in find_new_gid().

16 years ago * process_args renamed process_flags
nekral-guest [Fri, 28 Dec 2007 11:22:27 +0000 (11:22 +0000)]
 * process_args renamed process_flags
 * Add the options checks in process_flags (group_name, group ID uniqueness)
 * Add the parameters' names in the prototypes.

16 years agoSplit the processing of options out of main().
nekral-guest [Fri, 28 Dec 2007 10:41:22 +0000 (10:41 +0000)]
Split the processing of options out of main().

16 years agofind_new_gid is never called when an
nekral-guest [Fri, 28 Dec 2007 10:30:39 +0000 (10:30 +0000)]
find_new_gid is never called when an
GID is specified with -g. Simplify find_new_gid accordingly.

16 years agotypo cleared/clearer
nekral-guest [Fri, 28 Dec 2007 10:20:02 +0000 (10:20 +0000)]
typo cleared/clearer

16 years ago(find_new_gid): If oflg is set, gflg is also set.
nekral-guest [Fri, 28 Dec 2007 10:19:21 +0000 (10:19 +0000)]
(find_new_gid): If oflg is set, gflg is also set.
Use (!gflg), which is cleared than (!gflg || !oflg).

16 years agoA group with the specified name cannot exist at that time in find_new_gid.
nekral-guest [Fri, 28 Dec 2007 10:15:42 +0000 (10:15 +0000)]
A group with the specified name cannot exist at that time in find_new_gid.
Remove the check.

16 years agoAvoid implict brackets.
nekral-guest [Fri, 28 Dec 2007 10:12:09 +0000 (10:12 +0000)]
Avoid implict brackets.

16 years agoWhen compiled without AUDIT support, if the return code was E_SUCCESS,
nekral-guest [Fri, 28 Dec 2007 09:39:22 +0000 (09:39 +0000)]
When compiled without AUDIT support, if the return code was E_SUCCESS,
fail_exit() wouldn't have exited. Fix the scope of #idef WITH_AUDIT.

16 years agoDocument the new functions.
nekral-guest [Fri, 28 Dec 2007 00:35:41 +0000 (00:35 +0000)]
Document the new functions.

16 years agoOther cleanups and documentation.
nekral-guest [Fri, 28 Dec 2007 00:23:33 +0000 (00:23 +0000)]
Other cleanups and documentation.
Do the checks, then build the filenames. Do not mix both.

16 years agoStop at the first error.
nekral-guest [Fri, 28 Dec 2007 00:08:16 +0000 (00:08 +0000)]
Stop at the first error.

16 years agoAvoid assignement in comparison.
nekral-guest [Fri, 28 Dec 2007 00:04:46 +0000 (00:04 +0000)]
Avoid assignement in comparison.

16 years agoAvoid implicit conversions to booleans.
nekral-guest [Fri, 28 Dec 2007 00:03:26 +0000 (00:03 +0000)]
Avoid implicit conversions to booleans.

16 years agoAvoid implicit casts.
nekral-guest [Thu, 27 Dec 2007 23:41:36 +0000 (23:41 +0000)]
Avoid implicit casts.

16 years agoAvoid implicit brackets.
nekral-guest [Thu, 27 Dec 2007 23:40:00 +0000 (23:40 +0000)]
Avoid implicit brackets.

16 years agoDocument selinux_file_context.
nekral-guest [Thu, 27 Dec 2007 23:32:47 +0000 (23:32 +0000)]
Document selinux_file_context.

16 years agoAvoid assignment in comparisons.
nekral-guest [Thu, 27 Dec 2007 23:30:36 +0000 (23:30 +0000)]
Avoid assignment in comparisons.

16 years agolibmisc/copydir.c cleanup
nekral-guest [Thu, 27 Dec 2007 23:23:51 +0000 (23:23 +0000)]
libmisc/copydir.c cleanup
* libmisc/copydir.c: Split copy_tree() in more maintainable functions:
copy_entry(), copy_dir(), copy_symlink(), copy_hardlink(),
copy_special(), and copy_file().
* libmisc/copydir.c: -1 is used to indicate an error, directly set err
to -1, instead of incrementing it, and checking if not nul at the
end.

16 years agoAvoid implicit conversions to booleans.
nekral-guest [Thu, 27 Dec 2007 21:56:45 +0000 (21:56 +0000)]
Avoid implicit conversions to booleans.

16 years agoAvoid assignment in comparisons.
nekral-guest [Thu, 27 Dec 2007 21:43:29 +0000 (21:43 +0000)]
Avoid assignment in comparisons.

16 years agoDocument check_list's return value.
nekral-guest [Thu, 27 Dec 2007 21:30:12 +0000 (21:30 +0000)]
Document check_list's return value.

16 years agoAvoid implicit brackets.
nekral-guest [Thu, 27 Dec 2007 21:28:50 +0000 (21:28 +0000)]
Avoid implicit brackets.

16 years agoSimplify gpasswd's main():
nekral-guest [Thu, 27 Dec 2007 21:19:57 +0000 (21:19 +0000)]
Simplify gpasswd's main():
Also split check_flags() out of main().

16 years agoSimplify gpasswd's main():
nekral-guest [Thu, 27 Dec 2007 21:04:22 +0000 (21:04 +0000)]
Simplify gpasswd's main():
Split also get_group() and change_passwd() out of main().

16 years agoSimplify gpasswd's main():
nekral-guest [Thu, 27 Dec 2007 19:08:31 +0000 (19:08 +0000)]
Simplify gpasswd's main():
New function: check_perms(). Split out of main() to simplify main().

16 years agoSimplify gpasswd's main():
nekral-guest [Thu, 27 Dec 2007 18:52:40 +0000 (18:52 +0000)]
Simplify gpasswd's main():
New functions: open_files(), close_files(), update_group(). Split out
from main() to simplify this (too) big function.

16 years agoSimplify gpasswd's main():
nekral-guest [Thu, 27 Dec 2007 18:27:57 +0000 (18:27 +0000)]
Simplify gpasswd's main():
New function: process_flags(). Split the processing of options out of main().

16 years agogpasswd cleanup
nekral-guest [Thu, 27 Dec 2007 17:36:08 +0000 (17:36 +0000)]
gpasswd cleanup
* src/gpasswd.c: Add argument name to the internal function
prototypes.
* src/gpasswd.c: Document global variables.

16 years agoRecommend editing the shadowed (resp. regular) file if the regular (resp.
nekral-guest [Wed, 26 Dec 2007 23:43:55 +0000 (23:43 +0000)]
Recommend editing the shadowed (resp. regular) file if the regular (resp.
shadowed) file was edited.

16 years agoEnd of the previous changelog entry...
nekral-guest [Wed, 26 Dec 2007 23:17:27 +0000 (23:17 +0000)]
End of the previous changelog entry...

16 years agoMerge Debian's patch 451_login_PATH
nekral-guest [Wed, 26 Dec 2007 23:15:43 +0000 (23:15 +0000)]
Merge Debian's patch 451_login_PATH
* NEWS, libmisc/setupenv.c: Export PATH according to ENV_PATH and
ENV_SUPATH, as for su. This impacts login.
* man/login.1.xml: PATH and SUPATH are now used both when PAM support
is disabled and enabled.

16 years agoIf started as init, login and sulogin need to start a new session.
nekral-guest [Wed, 26 Dec 2007 22:36:54 +0000 (22:36 +0000)]
If started as init, login and sulogin need to start a new session.

16 years agoMerge Debian's patch 408_passwd_check_arguments
nekral-guest [Wed, 26 Dec 2007 22:17:13 +0000 (22:17 +0000)]
Merge Debian's patch 408_passwd_check_arguments
* NEWS, src/passwd.c: Make sure that no more than one username
argument was provided.

16 years agoRe-indent.
nekral-guest [Wed, 26 Dec 2007 21:56:47 +0000 (21:56 +0000)]
Re-indent.

16 years agoMerge Debian's patch 412_lastlog_-u_numerical_range
nekral-guest [Wed, 26 Dec 2007 21:54:04 +0000 (21:54 +0000)]
Merge Debian's patch 412_lastlog_-u_numerical_range
* NEWS, src/lastlog.c, man/lastlog.8.xml: Accept numerical user, or
  ranges with the -u option.
* TODO: The same change should be done on faillog.

16 years agoMerge Debian's patch 466_fflush-prompt
nekral-guest [Wed, 26 Dec 2007 16:50:38 +0000 (16:50 +0000)]
Merge Debian's patch 466_fflush-prompt
* libmisc/Makefile.am, lib/prototypes.h, libmisc/yesno.c, src/grpck.c,
src/pwck.c: move yes_or_no() from grpck/pwck to a separate
libmisc/yesno.c (with a read_only argument).
* libmisc/fields.c, libmisc/yesno.c: Make sure stdout is flushed before
reading the user's answer.

16 years agosu's arguments are now reordered. If needed, use -- to separate su's
nekral-guest [Wed, 26 Dec 2007 15:10:48 +0000 (15:10 +0000)]
su's arguments are now reordered. If needed, use -- to separate su's
options from the shell's options.

16 years agoMerge RedHat's patch shadow-4.0.18.1-mtime.patch:
nekral-guest [Wed, 26 Dec 2007 13:54:23 +0000 (13:54 +0000)]
Merge RedHat's patch shadow-4.0.18.1-mtime.patch:
    * NEWS: Document that usermod will now preserve user's file modification
    and access time.
    * libmisc/copydir.c: Preserve the access and modification time of copied
    files. This is important for usermod. This will also impact useradd, for
    the skeleton files, but this is not important.
    * libmisc/copydir.c: Stop and return an error if a file could not be
    closed after during a copy.

16 years agoMention RedHat's patches for previous commits.
nekral-guest [Wed, 26 Dec 2007 13:18:27 +0000 (13:18 +0000)]
Mention RedHat's patches for previous commits.

Merge RedHat's patch shadow-4.0.18.1-findNewUidOnce.patch:
* src/useradd.c (usr_update): Do not call find_new_uid(). The UID was
already either specified or found by another call to find_new_uid().
* src/useradd.c (find_new_uid): Always start with uid_min (find_new_uid()
is never called when user_id was already specified).
* src/useradd.c (find_new_uid): Fix the comments (find_new_uid() is not
called when the UID is specified (uflg)).
* src/useradd.c (main): Only call find_new_uid() if (!oflg) and (!uflg).
If uflg is set (but not oflg), check the UID uniqueness.
* src/useradd.c (find_new_uid): Don't check the uid and user name
uniqueness in find_new_uid(). The user name uniqueness is already checked
during the parameter validation. UID uniqueness is also checked (see
above).
* src/useradd.c (find_new_uid): Don't check uflg in find_new_uid().
* src/useradd.c (find_new_uid): Make sure that find_new_uid() is not
called when uflg is set (assert).

Cleanups in find_new_gid:
* src/useradd.c (find_new_gid): Check that gflg is not set (assert).
* src/useradd.c (find_new_gid): Do not check the group name uniqueness
(already checked in main).
* src/useradd.c (find_new_gid): Avoid a "continue" in the loop.
* src/useradd.c (find_new_gid): Remove irrelevant comments.
* src/useradd.c (find_new_gid): Fix the function definition's comment.

16 years agoAdd option -l to avoid adding the user to the lastlog and faillog databases
nekral-guest [Wed, 26 Dec 2007 10:15:20 +0000 (10:15 +0000)]
Add option -l to avoid adding the user to the lastlog and faillog databases

Fix the release numbers for the current NEWS entries.

16 years agoThe manpages should indicate how common options are.
nekral-guest [Wed, 26 Dec 2007 10:13:57 +0000 (10:13 +0000)]
The manpages should indicate how common options are.

16 years agoNO_GETPWENT is no more supported. Remove associated chunks of code.
nekral-guest [Wed, 26 Dec 2007 09:28:02 +0000 (09:28 +0000)]
NO_GETPWENT is no more supported. Remove associated chunks of code.

16 years agoDocument the long options (--force, --gid, --key, --non-unique).
nekral-guest [Wed, 26 Dec 2007 09:22:49 +0000 (09:22 +0000)]
Document the long options (--force, --gid, --key, --non-unique).

16 years agoDo not install the shadow library per default.
nekral-guest [Wed, 26 Dec 2007 09:18:45 +0000 (09:18 +0000)]
Do not install the shadow library per default.
lib_LTLIBRARIES changed to noinst_LTLIBRARIES.

16 years ago* NEWS, configure.in: Prepare the 4.1.0 release.
nekral-guest [Sun, 9 Dec 2007 22:54:53 +0000 (22:54 +0000)]
* NEWS, configure.in: Prepare the 4.1.0 release.
* NEWS, src/chgpasswd.c: Use chgpasswd PAM policy file instead of
  chpasswd's one.
* NEWS: The login.defs variables are documented.

16 years agoUpdated TODO list.
nekral-guest [Sun, 9 Dec 2007 22:51:47 +0000 (22:51 +0000)]
Updated TODO list.

16 years agoNew TODO.
nekral-guest [Sun, 9 Dec 2007 14:51:42 +0000 (14:51 +0000)]
New TODO.

16 years ago* man/pwconv.8.xml: Fix typos.
nekral-guest [Sun, 9 Dec 2007 14:50:14 +0000 (14:50 +0000)]
* man/pwconv.8.xml: Fix typos.
* man/chpasswd.8.xml, man/chgpasswd.8.xml: Document the NONE crypt
  method.
* man/login.defs.d/MAIL_DIR.xml: Add comment regarding useradd not
  using MAIL_FILE.
* man/login.defs.d/ERASECHAR.xml, man/login.defs.d/KILLCHAR.xml,
  man/login.defs.d/CONSOLE_GROUPS.xml, man/login.defs.d/ENV_HZ.xml,
  man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml:
  These variables are also used by some tools when compiled with PAM
  support.
* man/login.defs.d/ENV_HZ.xml: Add note that it is only used by
  sulogin when compiled with PAM support.
* man/login.defs.d/ENV_SUPATH.xml: Typos: ENV_PATH -> ENV_SUPATH,
  and mention sbin in the path.
* man/login.defs.d/LOGIN_STRING.xml: Fix typo: confition ->
  condition.
* man/sg.1.xml: Add CONFIGURATION section (SYSLOG_SG_ENAB).
* man/su.1.xml: ENV_HZ, LOGIN_STRING, MAIL_DIR, USERGROUPS_ENAB
  are only used when su is compiled without PAM support.
* man/login.defs.5.xml: Added variables: OBSCURE_CHECKS_ENAB
  PASS_ALWAYS_WARN PASS_CHANGE_TRIES SULOG_FILE SU_NAME
  SU_WHEEL_ONLY SYSLOG_SG_ENAB SYSLOG_SU_ENAB.
* man/login.defs.5.xml: ENVIRON_FILE is only used when compiled
  without PAM support.
* man/login.defs.5.xml: sulogin uses variables even when compiled
  with PAM support.
* man/login.1.xml: ENV_HZ ENV_PATH ENV_SUPATH MAIL_DIR UMASK are
  only used when login is not compiled with PAM support.

16 years agoMake sure is_console is only defined when USE_PAM is not defined.
nekral-guest [Sat, 8 Dec 2007 23:27:35 +0000 (23:27 +0000)]
Make sure is_console is only defined when USE_PAM is not defined.

16 years agoFix time () prototype.
nekral-guest [Sat, 8 Dec 2007 23:25:52 +0000 (23:25 +0000)]
Fix time () prototype.

16 years ago* man/login.defs.d/CONSOLE_GROUPS.xml,
nekral-guest [Sat, 8 Dec 2007 23:24:40 +0000 (23:24 +0000)]
* man/login.defs.d/CONSOLE_GROUPS.xml,
  man/login.defs.d/CONSOLE.xml, man/login.defs.d/DEFAULT_HOME.xml,
  man/login.defs.d/ENV_HZ.xml, man/login.defs.d/ENVIRON_FILE.xml,
  man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml,
  man/login.defs.d/ENV_TZ.xml, man/login.defs.d/ERASECHAR.xml,
  man/login.defs.d/FAIL_DELAY.xml,
  man/login.defs.d/FAILLOG_ENAB.xml,
  man/login.defs.d/FAKE_SHELL.xml, man/login.defs.d/FTMP_FILE.xml,
  man/login.defs.d/HUSHLOGIN_FILE.xml,
  man/login.defs.d/ISSUE_FILE.xml, man/login.defs.d/KILLCHAR.xml,
  man/login.defs.d/LASTLOG_ENAB.xml, man/login.defs.d/LOGIN_RETRIES.xml,
  man/login.defs.d/LOGIN_TIMEOUT.xml, man/login.defs.d/LOG_OK_LOGINS.xml,
  man/login.defs.d/LOG_UNKFAIL_ENAB.xml,
  man/login.defs.d/MAIL_CHECK_ENAB.xml, man/login.defs.d/MOTD_FILE.xml,
  man/login.defs.d/NOLOGINS_FILE.xml,
  man/login.defs.d/OBSCURE_CHECKS_ENAB.xml,
  man/login.defs.d/PASS_ALWAYS_WARN.xml,
  man/login.defs.d/PASS_CHANGE_TRIES.xml,
  man/login.defs.d/PASS_MAX_LEN.xml,
  man/login.defs.d/PORTTIME_CHECKS_ENAB.xml,
  man/login.defs.d/QUOTAS_ENAB.xml, man/login.defs.d/SULOG_FILE.xml,
  man/login.defs.d/SU_NAME.xml, man/login.defs.d/SU_WHEEL_ONLY.xml,
  man/login.defs.d/SYSLOG_SG_ENAB.xml,
  man/login.defs.d/SYSLOG_SU_ENAB.xml,
  man/login.defs.d/TTYGROUP.xml, man/login.defs.d/TTYTYPE_FILE.xml,
  man/login.defs.d/ULIMIT.xml, man/login.defs.d/USERGROUPS_ENAB.xml:
  New documentation of login.defs variables.
* man/login.defs.d/MAIL_DIR.xml: Updated. It now contains the
  MAIL_FILE documentation.
* man/login.defs.d/LOGIN_STRING.xml: Updated. Mentions %s.
* man/pwconv.8.xml, man/groupmems.8.xml, man/groupdel.8.xml,
  man/useradd.8.xml, man/pwck.8.xml, man/groupadd.8.xml,
  man/sulogin.8.xml, man/newgrp.1.xml, man/usermod.8.xml,
  man/su.1.xml, man/vipw.8.xml, man/passwd.1.xml,
  man/groupmod.8.xml, man/login.1.xml, man/userdel.8.xml,
  man/grpck.8.xml: Added CONFIGURATION section.
* man/generate_mans.mak: The generations of manpages depends on
  the variables from the Makefiles. Add the dependency on Makefile.
* man/login.defs.5.xml: New login.defs variable documented.
* man/Makefile.am: Added XML variable documentation to the
  distributed files.

16 years agoFix the newgrp section in the gshadow.5 manpage.
nekral-guest [Wed, 5 Dec 2007 21:31:21 +0000 (21:31 +0000)]
Fix the newgrp section in the gshadow.5 manpage.
Thanks to Andre Majorel <aym-naibed@teaser.fr>.

16 years agoPrepare the 4.1.0-rc1 release.
nekral-guest [Tue, 27 Nov 2007 20:08:16 +0000 (20:08 +0000)]
Prepare the 4.1.0-rc1 release.

16 years agoNew TODOs.
nekral-guest [Tue, 27 Nov 2007 19:45:36 +0000 (19:45 +0000)]
New TODOs.

16 years agoAdded the login.defs variables description to the man's EXTRA_DIST.
nekral-guest [Tue, 27 Nov 2007 19:42:23 +0000 (19:42 +0000)]
Added the login.defs variables description to the man's EXTRA_DIST.

16 years ago* man/chfn.1.xml: Uses CHFN_AUTH, CHFN_RESTRICT, LOGIN_STRING.
nekral-guest [Mon, 26 Nov 2007 23:27:56 +0000 (23:27 +0000)]
* man/chfn.1.xml: Uses CHFN_AUTH, CHFN_RESTRICT, LOGIN_STRING.
* man/chgpasswd.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
  MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
* man/chpasswd.8.xml: Switch to using entities for ENCRYPT_METHOD,
  MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
* man/chsh.1.xml: Uses CHSH_AUTH, LOGIN_STRING.
* man/expiry.1.xml: Does not use any login.defs parameter.
* man/gpasswd.1.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
  MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS.
* man/login.defs.5.xml: Added CHSH_AUTH.
* man/login.defs.5.xml: Cross reference -> cross references.
* man/login.defs.5.xml: chfn only uses CHFN_AUTH when no_pam.
* man/login.defs.5.xml: chsh uses CHSH_AUTH, not CHFN_AUTH.
* man/login.defs.d/CHSH_AUTH.xml: Added.
* man/login.defs.5.xml: chsh uses parameters only when no_pam.
* man/login.defs.5.xml: expiry does not use CONSOLE_GROUPS, even
  if linked in the binary.
* man/newusers.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
  MD5_CRYPT_ENAB, PASS_MAX_DAYS, PASS_MIN_DAYS, PASS_WARN_AGE,
  SHA_CRYPT_MIN_ROUNDS, UMASK.

16 years agoThe previous commit to man/login.defs.5.xml also describeb the usage of
nekral-guest [Mon, 26 Nov 2007 22:14:45 +0000 (22:14 +0000)]
The previous commit to man/login.defs.5.xml also describeb the usage of
variables by each tools when compiled without PAM support.

16 years agoAdd --expand-all-entities to the call to xml2po to avoid translating the
nekral-guest [Mon, 26 Nov 2007 22:13:16 +0000 (22:13 +0000)]
Add --expand-all-entities to the call to xml2po to avoid translating the
external entities separately.

16 years agoPut each variable description in an external entities. This will permit to
nekral-guest [Mon, 26 Nov 2007 22:11:23 +0000 (22:11 +0000)]
Put each variable description in an external entities. This will permit to
reference them in the various utils manpages.

16 years agoDo not generate gmo files.
nekral-guest [Mon, 26 Nov 2007 22:04:20 +0000 (22:04 +0000)]
Do not generate gmo files.

16 years agoEnd of the PO unfuzzyfication (after tabulation removal in Usage strings)
nekral-guest [Mon, 26 Nov 2007 22:00:57 +0000 (22:00 +0000)]
End of the PO unfuzzyfication (after tabulation removal in Usage strings)

16 years agoFix typo.
nekral-guest [Sun, 25 Nov 2007 22:05:08 +0000 (22:05 +0000)]
Fix typo.

16 years ago* man/po/LINGUAS: Added missing LINGUAS.
nekral-guest [Sun, 25 Nov 2007 21:28:26 +0000 (21:28 +0000)]
* man/po/LINGUAS: Added missing LINGUAS.
* man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
  man/po/ru.po, man/po/sv.po: Updated.

16 years agoAdded POTFILES to the ignored files in man/po
nekral-guest [Sun, 25 Nov 2007 21:06:49 +0000 (21:06 +0000)]
Added POTFILES to the ignored files in man/po

16 years ago* configure.in, man/po/Makefile.in.in, man/po/Makevars,
nekral-guest [Sun, 25 Nov 2007 21:02:32 +0000 (21:02 +0000)]
* configure.in, man/po/Makefile.in.in, man/po/Makevars,
  man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
  manpages in the man/po directory (instead of man/<lang>). Use a
  Makefile.in.in based on gettext's one. This ensure that the PO are
  generated before being used in the <lang> directories.
* man/generate_mans.mak, man/generate_translations.mak,
  man/Makefile.am: New makefile for the generation of manpages from
  XML (generate_mans.mak). This avoid duplicate chunks in
  generate_translations.mak and Makefile.am
* man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
  man/ru/ru.po, man/sv/sv.po: Moved to...
* man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
  man/po/ru.po, man/po/sv.po: ... here.

16 years agoOne more fix to avoid a fuzzy string.
nekral-guest [Sun, 25 Nov 2007 20:27:25 +0000 (20:27 +0000)]
One more fix to avoid a fuzzy string.

16 years agoUnfuzzy other Usage strings translations.
nekral-guest [Sun, 25 Nov 2007 20:21:53 +0000 (20:21 +0000)]
Unfuzzy other Usage strings translations.

Note: km.po and ne.po contain translated options.

16 years agoDo not use tabulations in Usage strings.
nekral-guest [Sat, 24 Nov 2007 22:41:24 +0000 (22:41 +0000)]
Do not use tabulations in Usage strings.

16 years agoRun "make update-po" in the po directory.
nekral-guest [Sat, 24 Nov 2007 14:02:10 +0000 (14:02 +0000)]
Run "make update-po" in the po directory.

16 years ago* configure.in: New configure option: --with-sha-crypt enabled by
nekral-guest [Sat, 24 Nov 2007 13:08:08 +0000 (13:08 +0000)]
* configure.in: New configure option: --with-sha-crypt enabled by
  default. Keeping the feature enabled is safe. Disabling it permits
  to disable the references to the SHA256 and SHA512 password
  encryption algorithms from the usage help and manuals (in addition
  to the support for these algorithms in the code).
* libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
  src/chpasswd.c, src/chgpasswd.c, src/passwd.c: ENCRYPT_METHOD is
  always supported in login.defs. Remove the ENCRYPTMETHOD_SELECT
  preprocessor condition.
* libmisc/obscure.c, libmisc/salt.c, src/newusers.c,
  src/chpasswd.c, src/chgpasswd.c, src/passwd.c: Disable SHA256 and
  SHA512 if USE_SHA_CRYPT is not defined (this corresponds to a
  subset of the ENCRYPTMETHOD_SELECT sections).