diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-02-10 04:52:21 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-02-10 04:52:21 +0000 |
commit | f767af5ecc0a272f706c5c02e45c6c25f7a3a654 (patch) | |
tree | a62d8f71585ed09beb8e0cb00b12f546612e03a3 /utils/login.c | |
parent | ab15e243cf9e178d7cee23b0ccfa6bd110aa1f18 (diff) | |
download | hurd-f767af5ecc0a272f706c5c02e45c6c25f7a3a654.tar.gz hurd-f767af5ecc0a272f706c5c02e45c6c25f7a3a654.tar.bz2 hurd-f767af5ecc0a272f706c5c02e45c6c25f7a3a654.zip |
1999-02-06 Mark Kettenis <kettenis@gnu.org>
* login.c (main): If no effective uid, really use first auxiliary
uid to use as password entry to get parameters from.
Diffstat (limited to 'utils/login.c')
-rw-r--r-- | utils/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/login.c b/utils/login.c index 02542ae2..26407e7d 100644 --- a/utils/login.c +++ b/utils/login.c @@ -1,6 +1,6 @@ /* Hurdish login - Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> @@ -615,7 +615,7 @@ main(int argc, char *argv[]) if (ugids.eff_uids.num > 0) pw = getpwuid (ugids.eff_uids.ids[0]); /* Effective uid */ else if (ugids.avail_uids.num > 0) - pw = getpwuid (ugids.eff_uids.ids[0]); /* Auxiliary uid */ + pw = getpwuid (ugids.avail_uids.ids[0]); /* Auxiliary uid */ else /* No user! Try to used the `not-logged-in' user to set various parameters. */ |