From owner-freebsd-bugs Sat May 4 7: 0:16 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3FCA537B417 for ; Sat, 4 May 2002 07:00:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g44E05s22364; Sat, 4 May 2002 07:00:05 -0700 (PDT) (envelope-from gnats) Date: Sat, 4 May 2002 07:00:05 -0700 (PDT) Message-Id: <200205041400.g44E05s22364@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ceri Davies Subject: Re: bin/37733: su(1) does not behave the way it is described in man Reply-To: Ceri Davies Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/37733; it has been noted by GNATS. From: Ceri Davies To: Gleb Smirnoff Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/37733: su(1) does not behave the way it is described in man Date: Sat, 4 May 2002 14:53:01 +0100 On Sat, May 04, 2002 at 11:10:39AM +0400, Gleb Smirnoff wrote: > But if user is not listed in group wheel and his primary group is 0, > he is allowed to su root. As it is said in comment in su.c, this > is the desired behavior. This is quite different to manpage. If your primary group is 0, then you *are* in wheel (which is the group with gid 0). Ceri -- get the cool shoe shine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message