Don't ask for a password if there are no group passwords. Just directly

give up. This comes from the Fedora's patch shadow-4.0.13-newgrpPwd.patch,
and seems to be the only part with an effect.
This commit is contained in:
nekral-guest
2007-11-10 18:54:40 +00:00
parent 1bdb92706e
commit f9de15fdcf
3 changed files with 19 additions and 9 deletions

View File

@@ -1,3 +1,10 @@
2007-11-10 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/newgrp.c: Don't ask for a password if there are no
group passwords. Just directly give up. This comes from the
Fedora's patch shadow-4.0.13-newgrpPwd.patch, and seems to be the
only part with an effect.
2007-11-10 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/chgpasswd.c, src/chpasswd.c: Fix chpasswd and