]> granicus.if.org Git - shadow/blobdiff - ChangeLog
* NEWS, etc/pam.d/Makefile.am: Add chfn, chsh, and userdel to
[shadow] / ChangeLog
index 6273dfc479cbc77e791eb54ab30db2991b9009e5..2f88eb853cb2e4d2018c98c79154bb46cab437d6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,589 @@
+2008-04-04  Mark Rosenstand  <mark@borkware.net>
+
+       * NEWS, etc/pam.d/Makefile.am: Add chfn, chsh, and userdel to
+       $(pamd_files). Remove the duplicate useradd. And sort
+       alphabetically.
+
+2008-04-04  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS: Prepare next release, 4.1.2.
+
+2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, configure.in: Prepare release 4.1.1
+       * NEWS: Fix the release date of 4.1.0. Was in 2007, not 2008.
+
+2008-04-02  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * po/fr.po: Update according to the file under review.
+       Thanks to Jean-Luc Coulon.
+
+2008-04-01  Holger Wansing  <linux@wansing-online.de>
+
+       * po/de.po: updated to 431t
+
+2008-03-31  Piarres Beobide  <pi+debian@beobide.net>
+
+       * po/eu.po: updated to 431t
+
+2008-03-30  Leandro Azevedo  <leorock182@gmail.com>
+
+       * po/pt_BR.po: updated to 360t71f
+
+2008-03-30  Mehmet Türker <mturker@innova.com.tr>
+
+       * po/tr.po: updated to 431t
+
+2008-03-30  Clytie Siddall  <clytie@riverland.net.au>
+
+       * po/vi.po: updated to 431t
+
+2008-03-30  Daniel Nylander  <yeager@ubuntu.com>
+
+       * po/sv.po: updated to 431t
+
+2008-03-29  helix84 <helix84@centrum.sk>
+
+       * po/sk.po: updated to 431t
+
+2008-03-27  Danilo Piazzalunga  <danilopiazza@gmail.com>
+
+       * po/it.po: updated to 431t
+
+2008-03-26  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * TODO: Added entries regarding SE Linux.
+
+2008-03-26  Russell Coker  <russell@coker.com.au>
+
+       * src/passwd.c, NEWS: Make SE Linux tests more strict, when the
+       real UID is 0 SE Linux checks will be performed.
+
+2008-03-24  Yuri Kozlov  <kozlov.y@gmail.com>
+
+       * po/ru.po: updated to 431t
+
+2008-03-23  Miguel Figueiredo  <elmig@debianpt.org>
+
+       * po/pt.po: updated to 431t
+
+2008-03-21  Changwoo Ryu  <cwryu@debian.org>
+
+       * po/ko.po: updated to 431t
+
+2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/login.defs.5.xml: Fix manpages generation. The SYS_GID_MAX
+       and SYS_UID_MAX entities were not defined.
+
+2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/faillog.c: Fix minor compilation warning (assignment used as
+       a comparison).
+
+2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/prototypes.h, src/login.c: login_access() is used in
+       src/login.c, and defined in src/login_nopam.c (which lacks a
+       prototype). Move its prototype from src/login.c to
+       lib/prototypes.h.
+
+2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/gpasswd.c, src/groupmod.c: Compilation fix. gshadow_locked
+       should only be used if SHADOWGRP is defined.
+
+2008-03-17  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/grpck.c: Fix some warnings. compare_members_lists() is only
+       used if SHADOWGRP is defined.
+
+2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/groupmod.c: Make sure the passwd, group, and gshadow
+       files are unlocked on exit. Unlock locked files in fail_exit().
+       Prefer fail_exit() over exit().
+       * NEWS, src/groupmod.c: When the GID of a group is changed, update
+       also the GID of the passwd entries of the users whose primary
+       group is the group being modified.
+
+2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/commonio.c (commonio_remove): Fail when the name to be
+       removed is used by different entries (like commonio_update does).
+       * NEWS: This fix the behavior of groupdel when the system is not
+       configured to support split group but different group entries
+       have the name of the group to be deleted.
+
+2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/useradd.c: Make sure the passwd, group, shadow, and
+       gshadow files are unlocked on exit. Unlock locked files in
+       fail_exit(). Prefer fail_exit() over exit().
+
+2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/groupdel.c: Make sure the group, and gshadow files are
+       unlocked on exit. Add function fail_exit(). Use fail_exit()
+       instead of exit().
+       * src/groupdel.c: Fail immediately instead of increasing errors.
+       Better handling of error cases, like locked group or gshadow file.
+
+2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/newusers.c: Make sure the passwd, group, shadow, and
+       gshadow files are unlocked on exit. Add function fail_exit(). Use
+       fail_exit() instead of exit().
+
+2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/gpasswd.c: Make sure the group and gshadow files are
+       unlocked on exit. Add function fail_exit(). Use fail_exit()
+       instead of exit().
+
+2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/groupdel.c: Do not rewrite the group and gshadow file
+       in case of error.
+
+2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/groupdel.c: Do not log that the group was deleted if an
+       error occurred.
+
+2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/groupdel.c: Do not raise an error if the group does
+       not exist in the gshadow file.
+
+2008-03-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * etc/login.defs: Document MAX_MEMBERS_PER_GROUP.
+
+2008-03-07  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/newgrp.c: Add missing end of line in message.
+       * src/newgrp.c: Add audit events for the authentication
+       (AUDIT_GRP_AUTH). Thansk to Peter Vrabec.
+
+2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/faillog.c: Only reset the entries of existing users
+       with faillog -r (not all numeric IDs starting from 0). Thanks to
+       Peter Vrabec.
+
+2008-03-05  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/pwunconv.c: Fix typo. One "can't open" message is a "can't
+       lock".
+
+2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/gpasswd.c: When a password is moved to the gshadow file, use
+       "x" instead of "x" to indicate that the password is shadowed
+       (consistency with grpconv).
+
+2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS: Fix failures when the gshadow file is not present. Thanks
+       to Christian Henz (http://bugs.debian.org/467488)
+       * src/gpasswd.c (get_group): Do not fail if gshadow is not present. Just use
+       the group file and set the grent structure
+       * src/gpasswd.c (check_perms): The permissions should be checked
+       using both the gshadow and group file. Add a <struct group *>
+       parameter, and check if the gshadow file exists (is_shadowgrp).
+       * src/gpasswd.c (main): Do not use sgent.sg_mem or sgent.sg_adm if
+       the gshadow file is not present (sgent is not initialized in that
+       case). The fields of sgent can be set, but not used.
+
+2008-02-26  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/gpasswd.c: Fix typo in comment.
+       * src/gpasswd.c: Move comment regarding FIRST_MEMBER_IS_ADMIN to
+       where it belongs.
+       * src/gpasswd.c: Indicate the end of the #ifdef FIRST_MEMBER_IS_ADMIN
+       section.
+
+2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/po/Makefile.in.in: Use --previous when merging PO files of
+       the manpages.
+
+2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/login.defs.d/SYS_UID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
+       Document new variables.
+       * man/newusers.8.xml, man/login.defs.5.xml,
+       man/login.defs.d/GID_MAX.xml, man/login.defs.d/UID_MAX.xml:
+       newusers uses now the GID_MAX, GID_MIN, UID_MAX, UID_MIN,
+       SYS_GID_MAX, SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
+       * man/groupadd.8.xml, man/login.defs.5.xml: groupadd uses now the
+       SYS_GID_MAX, and SYS_GID_MIN variables.
+       * man/login.defs.5.xml: useradd uses now the SYS_GID_MAX,
+       SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
+       * man/Makefile.am: Add the new XML documentation files to EXTRA_DIST.
+
+2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/getdef.c: Added missing SYS_GID_MAX, SYS_GID_MIN,
+       SYS_UID_MAX, and SYS_UID_MIN.
+
+2008-02-25  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/useradd.c, man/useradd.8.xml: Added options
+       --user-group (-U, Uflg) and --no-user-group (-N, Nflg) to replace
+       nflg.
+       * man/login.defs.d/USERGROUPS_ENAB.xml: useradd now also uses
+       USERGROUPS_ENAB.
+
+2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/groupmod.c: Add missing 'p' to the getopt_long's optstring.
+
+2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/groupadd.c: Add missing 'p' to the getopt_long's optstring.
+       * src/groupadd.c: Fix --non-unique's has_arg field to no_argument
+       instead of required_argument.
+       * src/groupadd.c: Add missing -p, --password description to the
+       Usage message.
+
+2008-02-19  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, etc/login.defs: Set GID_MIN to the same value as UID_MIN
+       by default (1000).
+       * NEWS, etc/login.defs: Added variables SYS_UID_MIN (100),
+       SYS_UID_MAX (999), SYS_GID_MIN (100), SYS_GID_MAX (999) for system
+       accounts.
+       * libmisc/find_new_ids.c: Added support for system accounts in
+       find_new_uid() and find_new_gid().
+       * NEWS, src/newusers.c, src/useradd.c, src/groupadd.c: Added new
+       option -r, --system for system accounts in useradd, groupadd, and
+       newusers.
+
+2008-02-18  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/groupmems.c: Fix buffer overflow when adding an user
+       to a group. Thanks to Peter Vrabec.
+
+2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, etc/useradd: Change the default HOME directory in
+       /etc/default/useradd according FHS (/home instead of /home/users).
+       This fixes Alioth's bug #310559. Thanks to Dale E. Edmons.
+
+2008-02-14  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/newgrp.c: Use the correct AUDIT_CHGRP_ID event instead of
+       AUDIT_USER_START, when changing the user space group ID with
+       newgrp or sg. Thanks to sgrubb@redhat.com for the patch.
+
+2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/usermod.c: Reset oflg with uflg if the new UID is equal to
+       the old one.
+       * src/usermod.c: Reset mflg with dflg if the new home directory is
+       the same as the old one.
+
+2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/usermod.c: Fix the handling of -a when a user is being
+       renamed (with -l). The new name of the user was used for the new
+       supplementary groups, but not in the existing ones.
+
+2008-02-10  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/newusers.c: Set the shadow's password instead of the
+       passwd's password. Fix wrong cut&paste.
+
+2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/usermod.c: Use a function to convert the dates from
+       /etc/shadow to human readable dates.
+       * src/usermod.c: Really log the expiration date change as human
+       readable strings instead of integers.
+       * src/usermod.c: No need to check audit_fd, audit_logger() will
+       take care of this.
+
+2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/login.c: Do not translate the fromhost variable. It is
+       always used for syslog messages.
+
+2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, lib/defines.h: Switch to the C locale before sending
+       messages to syslog. The messages sent by shadow were not
+       translated, but error messages from PAM returned by pam_strerror()
+       were translated in the users's locale.
+
+2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS: newusers will behave more like useradd.
+       * src/newusers.c: The user's ID must be found before the group ID
+       to mimic useradd's behavior choices of UID and GID.
+       * src/newusers.c: Reuse the generic find_new_uid() and
+       find_new_gid() functions. This permits to respect the
+       UID_MIN/UID_MAX and GID_MIN/GID_MAX variables, should 
+       * src/newusers.c: Check if the user or group exist using the
+       external databases (with the libc getpwnam/getgrnam functions).
+       Refuse to update an user which exist in an external database but
+       does not exist in the local database.
+       * src/newusers.c: Check the usernames and groupnames with
+       check_user_name() and check_group_name()
+       * src/newusers.c: Use isdigit() for readability.
+       * src/newusers.c: Check if numerical IDs are valid (no remaining
+       chars).
+
+2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/newusers.c: Fix the support for the NONE crypt method.
+
+2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/newusers.c: Fix shadow group support (the list of admins was
+       not defined; it is now set to an empty list).
+
+2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, libmisc/salt.c: Do not seed the random number generator
+       each time, and use the time in microseconds to avoid having the
+       same salt for different passwords generated in the same second.
+       This permits to avoid using the same salt for different passwords
+       in newusers.
+
+2008-02-03  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/pwio.c, lib/pwio.h: New function to find an user by
+       its UID on the local database.
+       * lib/groupio.c, lib/groupio.h: New function to find a group by
+       its GID on the local database.
+       * libmisc/find_new_ids.c, lib/prototypes.h: Add new generic
+       functions to find the next user or group ID available:
+       find_new_uid() and find_new_gid(). They work the same way as the
+       functions with the same name of useradd or groupadd, except that
+       they check in the local database to make sure an ID was not
+       reserved in an uncommitted change (this is needed to be used in
+       newusers), they report a status instead of calling exit(), and
+       they can receive a preferred ID. They should later support system
+       IDs. This should be a little bit slower, but not too much (if the
+       database is not open the checks against the local database will
+       exit immediately, and if it is already open, all the checks will be
+       done regarding the data in memory).
+       * po/POTFILES.in: The new libmisc/find_new_ids.c file contains
+       translatable strings.
+       * libmisc/Makefile.am: Add libmisc/find_new_ids.c to the sources
+       of the libmisc library.
+       * src/useradd.c, src/groupadd.c: Use the find_new_uid() and
+       find_new_gid() from the library instead of the local functions.
+
+2008-02-02  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * po/*.po: Updated PO files.
+       * libmisc/age.c, libmisc/yesno.c, src/lastlog.c, src/grpck.c,
+       src/chfn.c, src/passwd.c, src/chage.c, src/login.c, src/sulogin.c,
+       src/chsh.c: Fix call to puts (remove end of line, or use fputs).
+       * po/*.po: Unfuzzy PO files according to above change.
+
+2008-01-26  Nicolas François  <nicolas.francois@centraliens.net>
+
+       Fix build failures with --disable-shadowgrp. Thanks to Jürgen
+       Daubert for the patch.
+       * libmisc/salt.c: Include <stdio.h>, needed for stderr and printf
+       functions.
+       * lib/encrypt.c: Include <stdio.h>, needed for perror, stderr and
+       printf functions
+       * src/usermod.c: sgr_locked exists only if SHADOWGRP is defined.
+       * src/chgpasswd.c: Only check is the gshadow file exists if
+       SHADOWGRP is defined.
+
+2008-01-24  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/gpasswd.c, src/chfn.c, src/chage.c, src/chsh.c, src/grpck.c,
+       src/vipw.c, src/pwck.c, src/sulogin.c, src/newgrp.c,
+       src/userdel.c, src/lastlog.c, src/groupmems.c, src/usermod.c,
+       src/expiry.c, src/groupdel.c, src/useradd.c, src/su.c,
+       src/groupmod.c, src/passwd.c, src/groupadd.c, src/login.c,
+       src/suauth.c, src/faillog.c, src/id.c, libmisc/limits.c,
+       libmisc/addgrps.c, libmisc/env.c, libmisc/age.c, libmisc/yesno.c,
+       lib/getdef.c: Replace printf by puts for fixed strings. This would
+       avoid issues caused by formats introduced in translated strings.
+
+2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/useradd.c: Strings improvement s/can't get unique/no more
+       available/.
+
+2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/usermod.c: Check that the new fields set with -u, -s,
+       -l, -g, -f, -e, -d, and -c differ from the old ones. If a
+       requested new value is equal to the old one, no changes will
+       be performed for that field. If no fields are changed, usermod
+       will exist successfully with a warning. This avoids logging
+       changes to syslog when there are actually no changes.
+
+2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/usermod.c: Always define user_newcomment, user_newshell,
+       user_newexpire, and user_newinactive. It is more simple to always
+       have user_<x> as the old field, and user_new<x> as the new field
+       (even if the field did not change) instead of changing the
+       algorithm depending on WITH_AUDIT.
+
+2008-01-23  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/usermod.c: user_newname can only be used in WITH_AUDIT code
+       or when lflg is set. This issue was introduced in the code
+       refactoring of usermod.
+
+2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/groupadd.c: Fix typo in comment: s/find_new_uid/find_new_gid/
+
+2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/useradd.c: s/gid/GID/ in message string.
+       * src/useradd.c: Set this string for translation.
+
+2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/grpck.8.xml: Fix typo. Remove "the" from "All entries in the
+       <filename></filename> are checked [...]"
+       * man/grpck.8.xml: Conditionally include the parts mentioning the
+       gshadow file (based on SHADOWGRP).
+       * man/grpck.8.xml: Add reference to the gshadow(5) manpage
+       (conditionally included).
+
+2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/grpck.8.xml, man/pwck.8.xml: Indicate that the shadow
+       parameter is optional (i.e. a passwd file can be specified without
+       a shadow file, and the group file can be specified without the
+       gshadow file).
+
+2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/grpck.8.xml: Document the options with a list of options,
+       as in the pwck(8) manpage.
+
+2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/newgrp.c: Fix segfault when an user returns to an
+       unknown GID (either the user was deleted during the user's newgrp
+       session or the user's passwd entry referenced an invalid group).
+       Add a syslog warning in that case.
+       * src/newgrp.c: Add an end of line when reporting an invalid
+       password.
+
+2008-01-12  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, src/useradd.c: Fix the handling of the --defaults option
+       (it required an argument, but should behave as -D)
+       * NEWS, man/useradd.8.xml: Document the --defaults option, which
+       was already described in the useradd's Usage information.
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/passwd.c: Avoid setting the password to a const empty
+       string, but set the first char to \0. This avoids a warning.
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * libmisc/salt.c: Add prototype for l64a(), gensalt(),
+       SHA_salt_size(), and SHA_salt_rounds().
+       * libmisc/salt.c: l64a() and gensalt() are static.
+       * libmisc/salt.c: The `meth' parameter of crypt_make_salt() is a
+       const. (ditto for the method variable).
+       * libmisc/salt.c: SHA_salt_rounds returns a const string.
+       * libmisc/salt.c: Avoid warnings with cast of random() to double.
+       * libmisc/salt.c: Replace rand() by random().
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/Makefile.am: Do not link libshadow.la with the intl, crypt,
+       skey and md libraries...
+       * src/Makefile.am: ...Specify for each binary which library is
+       required. skey and md are required for the binaries with
+       authentication of the user (chfn, chsh, login, passwd, su). intl
+       is required for all. mcrypt is required for user (chfn, chsh,
+       login, passwd, su, sulogin) and group (newgrp, gpasswd)
+       authentication and for the creation of passwords (chpasswd,
+       chgpasswd, gpasswd, newusers, passwd).
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/nscd.c, lib/nscd.h: Set the service parameter of
+       nscd_flush_cache() to const. This avoids a lot of warnings.
+       * lib/nscd.c: Include "nscd.h" to avoid inconsistent prototypes.
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/encrypt.c: Set the method string as a constant string.
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/port.c: Assume <errno.h> declares errno.
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/po/fr.po: Fix typo: s/rend compte indiqué/rend le compte
+       indiqué/
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/suauth.c: Remove prototype of check_su_auth(). It is
+       redundant with prototypes.h.
+       * src/suauth.c: isgrp() is static.
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * libmisc/obscure.c: Tag the `old' parameter of palindrome(),
+       similar(), and simple() as unused.
+       * libmisc/loginprompt.c: Tag the `sig' parameter of login_exit()
+       as unused.
+       * src/expiry.c: Tag the `sig' parameter of catch_signals() as
+       unused.
+       * src/su.c: Tag the `sig' parameter of catch_signals() as unused.
+       * src/su.c: Add int parameter to the prototype of oldsig().
+       * src/login.c: Tag the `sig' parameter of alarm_handler() as
+       unused.
+       * src/sulogin.c: Tag the `sig' parameter of catch_signals() as
+       unused.
+       * libmisc/getdate.y: Tag the `string' parameter of yyerror() as
+       unused.
+       * libmisc/getdate.y: The string provided to yyerror() is const.
+       * libmisc/getdate.y: Fix the prototypes of yylex() and yyerror().
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * lib/defines.h: Remove teh macro definition of SETXXENT_TYPE,
+       SETXXENT_RET, and SETXXENT_TEST. They were used by the now
+       removed pwent.c and grent.c.
+       * lib/defines.h: Remove the definition of PASSWD_PAG_FILE,
+       GROUP_PAG_FILE, SHADOW_PAG_FILE, and SGROUP_PAG_FILE. They are
+       never used.
+       * lib/defines.h: Don't include "snprintf.h". The file does not
+       exist in shadow.
+       * lib/defines.h: Add new macro unused to tag unused parameters.
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/useradd.c, src/groupmems.c: Assume optarg and optind are
+       declared in <getopt.h>.
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/usermod.c: Remove the pw_name argument of new_pw_passwd. Use
+       the user_newname global variable instead. This avoid using a
+       parameter with the same name as a function.
+
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/newgrp.c: Removed unused gid parameter of syslog_sg().
+       * src/newgrp.c: The loginname and tty buffers are never changed.
+       Add the const qualifier.
+
 2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/chpasswd.c, src/chgpasswd.c: The crypt_method string always
        __xx_del_entry() functions).
        * src/grpck.c: Remove prototypes for __gr_del_entry(),
        __gr_get_head(), __sgr_del_entry(), and __sgr_get_head().
+       * src/pwck.c: Remove prototypes for __pw_del_entry(),
+       __pw_get_head(), __spw_del_entry(), and __spw_get_head().
+       * lib/groupio.c: Remove prototype for sgetgrent().
+       * lib/groupio.c: Add the name of the parameters for
+       merge_group_entries() and split_groups().
+       * lib/groupio.h: Remove prototypes for __gr_dup() and
+       __gr_set_changed().
 
 2008-01-05  Nicolas François  <nicolas.francois@centraliens.net>