From owner-freebsd-questions Fri Feb 9 00:28:04 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA08414 for questions-outgoing; Fri, 9 Feb 1996 00:28:04 -0800 (PST) Received: from starfleet.gov (root@sba-ca1-20.ix.netcom.com [204.32.201.52]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA08396 for ; Fri, 9 Feb 1996 00:28:00 -0800 (PST) Received: (from d_burr@localhost) by starfleet.gov (8.6.11/8.6.9) id AAA03407; Fri, 9 Feb 1996 00:27:28 -0800 Date: Fri, 9 Feb 1996 00:27:27 -0800 (PST) From: Donald Burr X-Sender: d_burr@starfleet.gov To: "Miguel A.L. Paraz" cc: freebsd-questions@freebsd.org Subject: Re: How to 'su' In-Reply-To: <199602090816.QAA24594@marikit.iphil.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Fri, 9 Feb 1996, Miguel A.L. Paraz wrote: > 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. You have to edit /etc/group and add you login name to the "wheel" group. Example: wheel:*:0:root,newsadm,d_burr ^^^^^^^^^^^^^^ It doesn't matter what your GID is set in /etc/passwd, you just have to be listed in the 'wheel' group in order to be able to su. Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212 TEL (805)564-1871 / FAX 564-2315 / WWW http://www.geopages.com/WallStreet/2072 PGP Public Key available by request (send e-mail) or on Public Key Servers. ** Uphold your right to privacy - Use PGP. **