From f767af5ecc0a272f706c5c02e45c6c25f7a3a654 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 10 Feb 1999 04:52:21 +0000 Subject: 1999-02-06 Mark Kettenis * login.c (main): If no effective uid, really use first auxiliary uid to use as password entry to get parameters from. --- utils/ChangeLog | 5 +++++ utils/login.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/ChangeLog b/utils/ChangeLog index dcb42e2e..09103646 100644 --- a/utils/ChangeLog +++ b/utils/ChangeLog @@ -1,3 +1,8 @@ +1999-02-06 Mark Kettenis + + * login.c (main): If no effective uid, really use first auxiliary + uid to use as password entry to get parameters from. + 1999-01-03 Roland McGrath * syncfs.c: Replace -a/--asynchronous with -s/--synchronous. 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 @@ -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. */ -- cgit v1.2.3