* NEWS, src/groupmod.c: Fixed groupmod when configured with

--enable-account-tools-setuid.
This commit is contained in:
nekral-guest 2009-11-05 22:03:36 +00:00
parent e770e87035
commit 289913e5ff
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-11-05 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/groupmod.c: Fixed groupmod when configured with
--enable-account-tools-setuid.
2009-11-01 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c:

2
NEWS
View File

@ -6,6 +6,8 @@ shadow-4.1.4.2 -> shadow-4.1.4.3 UNRELEASED
* report usage error to stderr, but report usage help to stdout (and return
zero) when explicitly requested (e.g. with --help).
- groupmod
* Fixed groupmod when configured with --enable-account-tools-setuid.
- su
* Document the su exit values.
* When su receives a signal, wait for the child to terminate (after

View File

@ -724,7 +724,7 @@ int main (int argc, char **argv)
{
struct passwd *pampw;
pampw = getpwuid (getuid ()); /* local, no need for xgetpwuid */
if (NULL == pamh) {
if (NULL == pampw) {
fprintf (stderr,
_("%s: Cannot determine your user name.\n"),
Prog);