to indicate that the password is shadowed (consistency with grpconv).
+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
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.
} 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);