* NEWS, src/groupmod.c: Fixed groupmod when configured with
--enable-account-tools-setuid.
This commit is contained in:
parent
e770e87035
commit
289913e5ff
@ -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
2
NEWS
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user