Go to file
lukem aaa55367ba As per discussion with mrg, back out parts of previous change.
The appropriate entry in /etc/group as returned by getgrnam() is
used to determine if 'su root' may be permitted, rather than
checking if membership exists in the result of getgroups().

The following changes were made regarding the behaviour of the special
group for 'su root'
* allow for definition of SUGROUP (defaults to "wheel") to override group name.
* use getgrnam(SUGROUP) instead of getgrgid(0).
* only scan getgrnam(SUGROUP)->gr_mem when checking for group membership.
* be more specific as to why 'su root' failed

NOTE: If a user's primary group is SUGROUP, and they're not a member
of SUGROUP in /etc/group, they will not be able to su.
1997-07-02 05:42:11 +00:00
bin Allow a count of zero for the following commands: 1997-07-01 20:15:51 +00:00
distrib Don't use a temporary file to record the read/write status of the root file- 1997-06-30 21:26:42 +00:00
etc Run ntalkd as nobody.tty 1997-06-29 19:20:20 +00:00
games Use tbl support from bsd.man.mk instead of having a special rule. 1997-06-30 19:33:34 +00:00
gnu Do not free dlopen'ed map structures twice. 1997-06-30 22:10:06 +00:00
include forgot to commit this. 1997-06-30 21:22:59 +00:00
lib add explicit return types and braces for gcc -Wall, some minor KNF 1997-07-02 04:55:41 +00:00
libexec Add WARNS=1 1997-07-01 20:49:59 +00:00
regress Use proginstall:: to disable installing PROG. 1997-05-07 15:59:08 +00:00
sbin s/except/accept/, from John F. Woods in PR bin/3802 1997-07-02 03:19:09 +00:00
share Remove unneeded files, merge back in NetBSD local changes. 1997-07-02 02:55:38 +00:00
sys if exec_netbsd() fails, indicate what file we were trying to boot. 1997-07-02 04:07:43 +00:00
usr.bin As per discussion with mrg, back out parts of previous change. 1997-07-02 05:42:11 +00:00
usr.sbin Add WARNS=1 1997-07-01 20:49:59 +00:00
Makefile Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00