Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Simon J. Gerraty <sjg@netbsd.org>
List: source-changes
Date: 01/10/2001 23:33:13
Module Name:	basesrc
Committed By:	sjg
Date:		Wed Jan 10 21:33:13 UTC 2001

Modified Files:
	basesrc/usr.bin/su: Makefile su.1 su.c

Log Message:
If SU_INDIRECT_GROUP is defined (it is by default), then su will
consider that SUGROUP and ROOTAUTH group contain the names of
users and groups.  If user is not found in the list check_ingroup()
recurses on each member until either user is found or end of chain
is reached.

The above allows su's use of the wheel group to be extended to a large
number of users without necessarily putting them in group wheel, and
in a way that will work over NIS that simply extending the line length
limit in getgrent.c cannot.


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 basesrc/usr.bin/su/Makefile
cvs rdiff -r1.19 -r1.20 basesrc/usr.bin/su/su.1
cvs rdiff -r1.45 -r1.46 basesrc/usr.bin/su/su.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.