]> granicus.if.org Git - shadow/blobdiff - ChangeLog
Add more info on the change of behavior.
[shadow] / ChangeLog
index c3da1a82634f3aaa4a1261a97d1de092e6832ef0..934517178edcf0a13d20c5a784cad5f22d0471a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,89 @@
+2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/login.c: Do not log in utmp / utmpx / wtmp when PAM is
+       enabled. This is already done by pam_lastlog. Note that
+       pam_lastlog can only log the parent PID, not the PID of the
+       process forked by login.
+
+2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/chpasswd.c: Add annotations to indicate that usage() does
+       not return.
+       * src/chpasswd.c: Reindent.
+       * src/chpasswd.c: Remove dead code. No need to set crypt_method
+       to NULL when it is already NULL. sflg is only set if crypt_method
+       is not NULL.
+
+2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/lastlog.c: Add annotations to indicate that usage() does not
+       return.
+
+2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/faillog.c: Add annotations to indicate that usage() does not
+       return.
+       * src/faillog.c: Fix message: this is faillog, not lastlog.
+       * src/faillog.c: Check that there are no extra arguments after
+       parsing the options.
+
+2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/chgpasswd.c: Add annotations to indicate that usage() does
+       not return.
+       * src/chgpasswd.c: Split usage in smaller parts. Those parts are
+       already translated for chpasswd. Usage is now closer to
+       chpasswd's.
+       * src/chgpasswd.c: Remove dead code. No need to set crypt_method
+       to NULL when it is already NULL. sflg is only set if crypt_method
+       is not NULL.
+
+2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/expiry.c: Remove dead code.
+       * src/expiry.c: Improve comments.
+
+2011-07-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/grpck.c: Added comments.
+       * src/grpck.c: Avoid implicit conversion of pointer to boolean.
+       * src/grpck.c: Remove dead code. argc cannot be lower than optind.
+       Avoid checking twice in a row for NULL != list[i].
+
+2011-07-22  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Fail in case of
+       invalid configuration. 
+       * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Updated
+       comments.
+       * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Be more strict
+       on the loop stop conditions. Stop if we passed the limit, even if
+       the limit itself was never noticed.
+
+2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/po/fr.po: Fix some spacing issues due to configuration
+       variants.
+
+2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/passwd.c: Overflow when computing the number of days based
+       on the scaling. Use of long long needed.
+
+2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, lib/commonio.h, lib/commonio.c: Additional messages to
+       indicate why locking failed.
+       * NEWS, lib/commonio.c: Fix the sort algorithm in case of NIS. NIS
+       entries were dropped.
+       * lib/commonio.c: NIS entries can start by '+' or '-'.
+
+2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/groupmod.c: When the gshadow file exists but there are
+       no gshadow entries, an entry is created if the password is changed
+       and group requires a shadow entry.
+
 2011-07-14  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/usermod.c: Fix typo in comment.
        requested.
        * src/usermod.c (process_flags): Check for oflg is not needed to
        check if changes are needed.
+       * src/usermod.c: usage() does not return. Add annotations.
+       * src/usermod.c (update_gshadow): is_member was computed twice.
+       * src/usermod.c (update_group, update_gshadow): Reduce complexity
+       and document checks. Some checks were always true/false within
+       their call context.
+       * NEWS, src/usermod.c; man/usermod.8.xml: When the shadow file
+       exists but there are no shadow entries, an entry has to be created
+       if the password is changed and passwd requires a shadow entry, or
+       if aging features are used (-e or -f). Document this and also that
+       -e and -f require a shadow file.
+       * man/usermod.8.xml: Document behavior of an empty EXPIRE_DATE.
+       * man/usermod.8.xml: Document that the mail spool might have to be
+       renamed (as for the homedir)
+       * src/usermod.c (new_pwent): Document that pw_locate will not fail
+       because getpwnam returned successfully.
+       * src/usermod.c (process_flags): Do not display the usage in case
+       of an invalid -f value (similar to -e).
+       * src/usermod.c (process_flags): Indicate that the user name is
+       invalid, instead of just a 'field'.
 
 2011-07-08  Nicolas François  <nicolas.francois@centraliens.net>