Make sure the passwd, group, shadow, and gshadow files are unlocked on

exit. Unlock locked files in fail_exit(). Prefer fail_exit() over exit().
This commit is contained in:
nekral-guest
2008-03-08 22:44:53 +00:00
parent 5af8a5d74d
commit 1b808e62df
3 changed files with 80 additions and 40 deletions

2
NEWS
View File

@@ -88,6 +88,8 @@ shadow-4.1.0 -> shadow-4.1.1 UNRELEASED
should replace nflg from the previous versions. Please set any -n
option to deprecated because its meaning differs from one distribution
to the other.
* Make sure the passwd, group, shadow, and gshadow files are unlocked on
exit.
- usermod
* Keep the access and modification time of files when moving an user's home
directory.