summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-07 01:43:08 +0000
committerpeter <peter@FreeBSD.org>1996-09-07 01:43:08 +0000
commit7e1f106f1d60201fe697397cad2462f3f8b9ec68 (patch)
tree9473cf7ff18075ce63a9347953c8dae40df4e6b1 /usr.bin
parent91405059905f25dd66e22d489907b1e7d64d903e (diff)
downloadFreeBSD-src-7e1f106f1d60201fe697397cad2462f3f8b9ec68.zip
FreeBSD-src-7e1f106f1d60201fe697397cad2462f3f8b9ec68.tar.gz
When looking for "group daemon" (since that's what's in mtree), make sure
we actually look for the *group* and not the user's gid. user daemon has traditionally been group 31 (guest). Also clear out the groups vector so that it doesn't inherit the groups of the invoking user (ever run rwhod by hand before?) Unfortunately, we can't empty the supplemental groups list because the !&@^#! egid is stored in there! :-(
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud