From owner-freebsd-questions Fri Feb 9 06:54:57 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA13876 for questions-outgoing; Fri, 9 Feb 1996 06:54:57 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA13869 for ; Fri, 9 Feb 1996 06:54:56 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA03663; Fri, 9 Feb 1996 09:54:03 -0500 Date: Fri, 9 Feb 1996 09:54:03 -0500 From: "Garrett A. Wollman" Message-Id: <9602091454.AA03663@halloran-eldar.lcs.mit.edu> To: "Miguel A.L. Paraz" Cc: freebsd-questions@freebsd.org Subject: How to 'su' In-Reply-To: <199602090816.QAA24594@marikit.iphil.net> References: <199602090816.QAA24594@marikit.iphil.net> Sender: owner-questions@freebsd.org Precedence: bulk < said: > Hello! > How do you su to root? Even if the user's GID is changed to 0 > with vipw, su still says: > su: you are not in the correct group to su root. The user's primary GID should never be 0. Rather, the user should be added to the membership of group 0 in /etc/group. The `su' command only looks at the group membership list, not the user's group list. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant