* NEWS, src/groupdel.c: Make sure the group, and gshadow files are

unlocked on exit. Add function fail_exit(). Use fail_exit()
	instead of exit().
	* src/groupdel.c: Fail immediately instead of increasing errors.
	Better handling of error cases, like locked group or gshadow file.
This commit is contained in:
nekral-guest
2008-03-08 21:13:54 +00:00
parent d1290c0d5d
commit 5af8a5d74d
3 changed files with 46 additions and 21 deletions

1
NEWS
View File

@@ -35,6 +35,7 @@ shadow-4.1.0 -> shadow-4.1.1 UNRELEASED
- groupdel
* Do not fail if the group does not exist in the gshadow file.
* Do not rewrite the group or gshadow file in case of error.
* Make sure the group and gshadow files are unlocked on exit.
- groupmems
* Fix buffer overflow when adding an user to a group. Thanks to Peter Vrabec.
- groupmod