Date: Fri, 02 Aug 1996 14:20:09 -0700 From: pius@ienet.com To: freebsd-hackers@FreeBSD.ORG Subject: su question Message-ID: <199608022120.OAA28784@iago.ienet.com>
next in thread | raw e-mail | index | archive | help
Just out of curiosity, when someone does an su to root, why does su check that the username is explicitly listed as a member of group 0 in /etc/group instead of just making sure that the user is part of that group with getgroups(2)? In other words, why should a user with a group ID of 0 in /etc/passwd also have to be listed as a member of wheel in /etc/group in order to su to root? Thanks, Pius
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608022120.OAA28784>