From owner-cvs-usrsbin Fri Sep 6 18:43:19 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA15775 for cvs-usrsbin-outgoing; Fri, 6 Sep 1996 18:43:19 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA15756; Fri, 6 Sep 1996 18:43:10 -0700 (PDT) Date: Fri, 6 Sep 1996 18:43:10 -0700 (PDT) From: Peter Wemm Message-Id: <199609070143.SAA15756@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/rwhod rwhod.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/09/06 18:43:10 Modified: usr.sbin/rwhod rwhod.c Log: 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! :-( Revision Changes Path 1.5 +7 -4 src/usr.sbin/rwhod/rwhod.c