Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2004 14:25:29 -0500
From:      Paul Schmehl <pauls@utdallas.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: File Manager
Message-ID:  <ECA7C45C4FBFC0C54E1398B4@utd49554.utdallas.edu>
In-Reply-To: <8cb27cbf04082119161a05086f@mail.gmail.com>
References:  <411E9639.2070609@spintech.ro> <4121E53D.7000900@spintech.ro><4121FAE5.70605@spintech.ro> <20040817132341.GC38060@abigail.blackend.org> <20040819003107.GX88156@wantadilla.lemis.com> <20040819135254.GI20058@abigail.blackend.org> <20040822015923.27981.qmail@gawab.com> <8cb27cbf04082119161a05086f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Saturday, August 21, 2004 08:16:16 PM -0600 Jon Drews 
<jon.drews@gmail.com> wrote:

> On Sun, 22 Aug 2004 01:59:23 GMT, Emon <jadukor@gawab.com> wrote:
>> Second, I did create a new user, but I wasn't sure wich group to
>> put it in, so I kept the GROUP field blank. Now I can't su to
>> root cos it say that I am not in the right goup(wheel). So what
>> does it mean & how do I solve this prob?
>
> Edit the /etc/group file and add your new account like so:
> wheel:*:0:root,$YOUR_ACCOUNT
>
Just curious....why would you do this rather than using pw?

pw usermod username -G wheel

I've always thought it was a bad idea to edit the passwd and groups file 
directly, because the dbs don't get built that way.

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ECA7C45C4FBFC0C54E1398B4>