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