From 799f30b08d82470e57210d13d00ad0246411d83b Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sun, 6 Nov 2011 18:38:10 +0000 Subject: [PATCH] * NEWS, src/chpasswd.c, man/chpasswd.8.xml, src/chgpasswd.c, man/chgpasswd.8.xml: Add --root option. * src/chpasswd.c, src/chgpasswd.c: The getopt index of long options is not used. --- ChangeLog | 6 +++++- NEWS | 2 ++ man/chgpasswd.8.xml | 15 ++++++++++++++- man/chpasswd.8.xml | 15 ++++++++++++++- src/chgpasswd.c | 13 +++++++++---- src/chpasswd.c | 13 +++++++++---- 6 files changed, 53 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index ddce933c..c37b7680 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,7 +17,7 @@ of main(). * NEWS, src/groupadd.c, man/groupadd.8.xml: Add --root option. Open audit and syslog after the potential chroot. - * src/groupmod.c: The index of long options is not used. + * src/groupmod.c: The getopt index of long options is not used. * src/groupdel.c: Add process_flags(). * src/groupdel.c, man/groupdel.8.xml: Add --help option. * NEWS, src/groupdel.c, man/groupdel.8.xml: Add --root option. Open @@ -29,6 +29,10 @@ Add --help option. * src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c: Add process_flags() and usage(). + * NEWS, src/chpasswd.c, man/chpasswd.8.xml, src/chgpasswd.c, + man/chgpasswd.8.xml: Add --root option. + * src/chpasswd.c, src/chgpasswd.c: The getopt index of long + options is not used. 2011-10-22 Nicolas François diff --git a/NEWS b/NEWS index bd85597f..f7b9eb20 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,7 @@ shadow-4.1.4.3 -> shadow-4.1.5 UNRELEASED * 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. + * Add --root option. -chpasswd * PAM enabled versions: restore the -e option to allow restoring passwords without knowing those passwords. Restore together the -m @@ -28,6 +29,7 @@ shadow-4.1.4.3 -> shadow-4.1.5 UNRELEASED * When the shadow file exists but there are no shadow entries, an entry is created if the password is changed and passwd requires a shadow entry. + * Add --root option. - faillog * The -l, -m, -r, -t options only act on the existing users, unless -a is specified. diff --git a/man/chgpasswd.8.xml b/man/chgpasswd.8.xml index 18a0337b..467ac801 100644 --- a/man/chgpasswd.8.xml +++ b/man/chgpasswd.8.xml @@ -1,7 +1,7 @@