+2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
+
+ * libmisc/console.c (console): Remove the leading /dev/ from the
+ tty before comparing with the lines specified by CONSOLE.
+ * src/su.c: Do not remove the /dev/ prefix since it is done by
+ console().
+
+2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
+
+ * man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE
+ file.
+
+2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/login.c: Fix failure of non PAM enabled versions when an
+ empty username is entered after a first prompt.
+
+2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/passwd.c: Added missing end of line at the end of success
+ messages.
+
+2009-05-16 sacha <sachall@infonie.fr>
+
+ * po/fr.po: Fixed typo in the vipw usage string.
+
+2009-05-12 Nicolas François <nicolas.francois@centraliens.net>
+
+ * libmisc/shell.c: Removed invalid code that executed the user's
+ shell as a shell script when the direct execution of the user's
+ shell failed with ENOEXEC and the user's shell has a shebang. The
+ interpreter might not be the right one. Executing the user's
+ shell with sh -c might be better, but I'm not sure we should try
+ harder when there is a failure. Note: the removed code was only
+ included #ifndef __linux__.
+
+2009-05-12 Nicolas François <nicolas.francois@centraliens.net>
+
+ * man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
+ when the group is used by other users, not the user.
+
+2009-05-12 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
+ USERDEL_CMD script example from the source code to the
+ documentation.
+
+2009-05-11 Nicolas François <nicolas.francois@centraliens.net>
+
+ * man/newusers.8.xml: PAM enabled version: describe how passwords
+ are updated and how newusers behave in case of error.
+
+2009-05-10 Nicolas François <nicolas.francois@centraliens.net>
+
+ * NEWS, configure.in: New release will be 4.1.4.
+ * po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
+ * po/*.po, man/po/*.po: Updated PO files.
+
+2009-05-10 Nicolas François <nicolas.francois@centraliens.net>
+
+ * libmisc/copydir.c: Added prototype of readlink_malloc(), and
+ readlink_malloc() changed to static.
+
+2009-05-10 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/su.c: Avoid redeclaration of root_pw.
+
+2009-05-10 NAKANO Takeo <nakano@webmasters.gr.jp>
+
+ * po/ja.po: Updated Japanese translation.
+
+2009-05-10 Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>
+
+ * po/fr.po: Updated French translation.
+
+2009-05-10 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/commonio.c: Avoid PATH_MAX. On glibc, we can use realpath
+ with a NULL argument.
+ * src/useradd.c: Replace PATH_MAX by a fixed constant. The buffer
+ was not meant as a storage for a path.
+ * src/useradd.c, src/newusers.c, src/chpasswd.c: Better detection
+ of fgets errors. Lines shall end with a \n, unless we reached the
+ end of file.
+ * libmisc/copydir.c: Avoid PATH_MAX. Support file paths with any
+ length. Added readlink_malloc().
+
+2009-05-09 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/pwck.c: Warn if an user has an entry in passwd and shadow,
+ and the password field in passwd is not 'x'.
+ * src/grpck.c: Warn if a group has an entry in group and gshadow,
+ and the password field in group is not 'x'.
+
+2009-05-09 Nicolas François <nicolas.francois@centraliens.net>
+
+ * man/login.defs.d/ENCRYPT_METHOD.xml,
+ man/login.defs.d/MD5_CRYPT_ENAB.xml,
+ man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Updated note for PAM
+ enabled versions. These variables are only used for group
+ passwords in this case.
+
+2009-05-09 Nicolas François <nicolas.francois@centraliens.net>
+
+ * man/chpasswd.8.xml: Sorted options alphabetically.
+
+2009-05-09 Nicolas François <nicolas.francois@centraliens.net>
+
+ * NEWS, src/newusers.c, src/Makefile.am: Added support for
+ changing the passwords with PAM.
+ * src/newusers.c: Split the usage string in smaller parts to
+ allow enabling single parts.
+ * man/newusers.8.xml: Indicate the options and configuration
+ variables valid for PAM and non-PAM versions.
+ * man/newusers.8.xml: Added pointer to /etc/pam.d/chpasswd.
+
+2009-05-09 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/userdel.c: Remove duplicate definitions of exit codes.
+
+2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
+
+ * libmisc/non_interactive_pam_conv.c,
+ libmisc/pam_pass_non_interractive.c, libmisc/Makefile.am: Renamed.
+ * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
+ non_interactive_password and non_interactive_pam_conv do not need
+ to be externally visible.
+ * libmisc/pam_pass_non_interractive.c: Added declaration of
+ ni_conv.
+ * libmisc/pam_pass_non_interractive.c: Only compile ifdef USE_PAM.
+ * libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
+ Added do_pam_passwd_non_interractive().
+ * src/chpasswd.c: Use do_pam_passwd_non_interractive().
+
+2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
+
+ * libmisc/pam_pass.c: Removed comment regarding pam_misc. This is
+ checked by configure.in.
+
+2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
+
+ * man/login.defs.5.xml: PAM enabled chpasswd do not use any
+ configuration variable from login.defs.
+
+2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
+
+ * man/passwd.1.xml: Differentiate the files used for PAM and
+ non-PAM versions.
+
+2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
+
+ * man/chpasswd.8.xml: Describe how chpasswd behaves in case of error.
+ * man/chpasswd.8.xml: Describe the PAM enabled chpasswd behavior.
+ * man/chpasswd.8.xml: Differentiate the files and configurations
+ used for PAM and non-PAM versions.
+
+2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/login.c: failcount does not need to be signed.
+
+2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/Makefile.am: PAM enabled chpasswd now needs to be linked to
+ the PAM library, even if --enable-account-tools-setuid is not
+ used.
+
+2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/chpasswd.c: Added the line number when an error is reported
+ instead of only the username.
+ * src/chpasswd.c: PAM enabled chpasswd may change the password
+ database (for the user where the password update succeeded) even
+ if there were a failure for one user. Do not indicate that changes
+ were ignored.
+
+2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/passwd.c: Exit immediately when unlocking a password would
+ result in a passwordless account. This avoid printing a success
+ message after the warning.
+
+2009-05-07 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/nologin.c: Include <stdlib.h> to get EXIT_FAILURE.
+
+2009-05-04 Nicolas François <nicolas.francois@centraliens.net>
+
+ * NEWS, configure.in: Fix build failure on non-PAM enabled system
+ when --without-pam is not specified.
+
+2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/commonio.c: Ignore teh return values of fclose() and
+ unlink() in case of failure of fopen_set_perms() or
+ create_backup().
+ * lib/commonio.c: Should the backup file be unlink'ed in case of
+ failure of create_backup()?
+
+2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/getulong.c: Added splint annotations.
+
+2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,
+ src/userdel.c, src/chpasswd.c, src/grpck.c, src/gpasswd.c,
+ src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
+ src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
+ src/groupadd.c, src/chage.c, src/login.c, src/faillog.c,
+ src/sulogin.c, src/chsh.c, src/pwconv.c: Added splint annotations.
+ * src/userdel.c, src/pwconv.c, src/lastlog.c, src/grpck.c,
+ src/vipw.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/login.c,
+ src/sulogin.c, src/usermod.c: Use return instead of exit at the
+ end of main().
+ * src/gpasswd.c, src/passwd.c, src/faillog.c: Use the exitcodes.h
+ exit codes.
+ * src/chpasswd.c: Added missing ||.
+ * src/nologin.c: Do not include exitcodes.h.
+ * src/nologin.c: Added brackets.
+ * src/nologin.c: Avoid assignments in comparisons.
+
+2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
+
+ * libmisc/getgr_nam_gid.c, lib/get_gid.c, lib/get_pid.c,
+ lib/get_uid.c: Added splint annotations.
+
+2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/exitcodes.h: Define E_SUCCESS as EXIT_SUCCESS. Added FIXMEs.
+ * libmisc/chowntty.c, libmisc/rlogin.c, libmisc/sub.c,
+ src/newusers.c, libmisc/sulog.c, libmisc/system.c, src/logoutd.c,
+ src/groups.c, src/id.c, lib/encrypt.c, libmisc/audit_help.c,
+ libmisc/limits.c: Return EXIT_FAILURE instead of 1, and
+ EXIT_SUCCESS instead of 0.
+ * libmisc/audit_help.c: Replace an fprintf() by fputs().
+ * libmisc/audit_help.c: Remove documentation of the audit_logger
+ returned values. The function returns void.
+ * libmisc/system.c: Only return status if waitpid succeeded.
+ Return -1 otherwise.
+
+2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
+
+ * NEWS, src/chpasswd.c: Added support for changing the passwords
+ with PAM.
+ * src/chpasswd.c: Split the usage string in smaller parts to
+ allow enabling single parts.
+ * src/chpasswd.c: Do not set a global lock on the password files.
+ This is done by PAM each time a password is updated.
+
+2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/defines.h: Include <utmpx.h> and <utmp.h> to define
+ USER_NAME_MAX_LENGTH.
+
+2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/login.c: Change a snprintf() to strncpy(). There are no
+ format.
+
+2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/passwd.c: Harmonize status report at the end of passwd.
+ Prefix the messages with "passwd: ", only indicate a password
+ change if the password was actually changed, and password
+ properties changed otherwise.
+
+2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/chgpasswd.c, src/newusers.c: There is no need to test for 0
+ after getopt_long. No options have flag != NULL.
+
+2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/prototypes.h: Replace #if by #ifdef
+ * libmisc/Makefile.am, lib/prototypes.h,
+ libmisc/non_interactive_pam_conv.c: Added
+ non_interactive_pam_conv() and non_interactive_password.
+
+2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
+
+ * libmisc/utmp.c, src/userdel.c, src/logoutd.c: Replace #if by #ifdef
+
+2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/vipw.c: Harmonize messages.
+