When a password is moved to the gshadow file, use "x" instead of "x"
to indicate that the password is shadowed (consistency with grpconv).
This commit is contained in:
parent
f43a4659c6
commit
528346cb3b
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
2
NEWS
2
NEWS
@ -23,6 +23,8 @@ shadow-4.1.0 -> shadow-4.1.1 UNRELEASED
|
||||
passwd entry, but no shadow entry.
|
||||
- gpasswd
|
||||
* Fix failures when the gshadow file is not present.
|
||||
* When a password is moved to the gshadow file, use "x" instead of "x"
|
||||
to indicate that the password is shadowed (consistency with grpconv).
|
||||
- groupadd
|
||||
* New option -p/--password to specify an encrypted password.
|
||||
* New option -r, --system for system accounts.
|
||||
|
@ -574,7 +574,7 @@ static void get_group (struct group *gr)
|
||||
} else {
|
||||
sg->sg_name = xstrdup (group);
|
||||
sg->sg_passwd = gr->gr_passwd;
|
||||
gr->gr_passwd = "!"; /* XXX warning: const */
|
||||
gr->gr_passwd = SHADOW_PASSWD_STRING; /* XXX warning: const */
|
||||
|
||||
sg->sg_mem = dup_list (gr->gr_mem);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user