diff --git a/ChangeLog b/ChangeLog index 2365f8fc..d3996e9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,26 @@ * src/chgpasswd.c: Fix the test for getlong() failure. * src/useradd.c, man/useradd.8.xml: Added long name for the -l option: --no-log-init. + * src/faillog.c: Added support for the specification of a range of + users with -u. + * src/faillog.c: Do not call print_one() for users which do not + exist. + * src/faillog.c: Make sure the user's entry is not outside the + faillog file and initialize the faillog structure in that case. + * src/faillog.c: Move print_one() closer to print(). + * src/faillog.c: reset(), setmax(), set_locktime() can also change + entries of user which do not exist. + * src/faillog.c: reset(), setmax() and set_locktime() shall not + create entries for users which have no entries if the value has to + be set to 0. + * src/faillog.c: reset(), setmax() and set_locktime(): better + handling of users whose entry is outside the faillog file. + * src/faillog.c: Improved option handling. Options can now be + specified in any order. + * src/faillog.c: Improved warnings when options are not + compatible or when the faillog cannot be open with the right mode. + * src/faillog.c: Only fstat the faillog file once. + * man/faillog.8.xml: Improved documentation. 2009-03-13 Nicolas François diff --git a/NEWS b/NEWS index 0e83c781..5b4b535c 100644 --- a/NEWS +++ b/NEWS @@ -37,6 +37,12 @@ shadow-4.1.2.2 -> shadow-4.1.3 UNRELEASED - Translations * New Kazakh translation. +- faillog + * Accept users specified as a numerical UID, or ranges of users (-user, + user-, user1-user2). + * -l, -m, and -r now apply not only to existing users, but to all the + specified UIDs. + * Options can be specified in any order. - gpasswd * Added support for long options --add (-a), --delete (-d), --remove-password (-r), --restrict (-R), --administrators (-A), and diff --git a/man/faillog.8.xml b/man/faillog.8.xml index cb6723bb..faf20806 100644 --- a/man/faillog.8.xml +++ b/man/faillog.8.xml @@ -1,7 +1,7 @@