Refuse to unlock an account when it would result in a passwordless

account.  Based on Openwall's patch shadow-4.0.4.1-owl-usermod-unlock.diff
This commit is contained in:
nekral-guest
2007-11-17 22:02:22 +00:00
parent 5e438aa46c
commit 85463e754d
3 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/usermod.c: Refuse to unlock an account when it would
result in a passwordless account. Based on Openwall's patch
shadow-4.0.4.1-owl-usermod-unlock.diff.
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
* src/userdel.c (path_prefix): Make sure that the prefix is the