From owner-freebsd-questions Thu Oct 30 20:59:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA10755 for questions-outgoing; Thu, 30 Oct 1997 20:59:47 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA10745 for ; Thu, 30 Oct 1997 20:59:42 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id PAA05650; Fri, 31 Oct 1997 15:29:29 +1030 (CST) Message-ID: <19971031152928.26957@lemis.com> Date: Fri, 31 Oct 1997 15:29:28 +1030 From: Greg Lehey To: Parker Brown Cc: support@FreeBSD.ORG Subject: Re: Editing /etc/group References: <34595D89.3040@gte.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <34595D89.3040@gte.net>; from Parker Brown on Thu, Oct 30, 1997 at 08:24:41PM -0800 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, Oct 30, 1997 at 08:24:41PM -0800, Parker Brown wrote: > When installing any version of BSD I always add user "pb" with groupname > "wheel" so I can use the system without so much fear of wiping > everything out inadvertantly. > So I want to be able to use the "su" command occasionally while logged > in as pb. The system won't let me do that, and if I remember correctly > my userid must be appended to the "wheel" line in /etc/group. The > adduser command (executed while logged in as root) didn't add my userid > to /etc/group. I believe that editing a system file like that in a > haphazzard fashion could make me have to reinstall the whole system > (again), and I really don't what to risk it. > > MY QUESTION: are the userids in /etc/group separated by a semicolon or a > comma? Or something else? With your guidance I can just edit the file > myself and be on my way! Commas. For example: wheel:*:0:root,grog,ctm,yana Greg