On (11/06/03 17:39), Dmitry Suzdalev wrote:
> Is it nessessary to use 'usermod' to add user to some group?
> Or may I just edit /etc/group file and enter new username after comma on the 
> line containing the group I want to add user to?
> I'm asking this because I want to add user to portage group, and 'usermod -G' 
> wants ALL groups to be listed... And what if I don't remember to which groups 
> this user already belongs, and what if this list is a way too long?

It's possible to just edit /etc/group but run 'grpconv' afterwards. Do
'id <user>' to find out what groups a user is in if you want to use
usermod.

-- 
Martin Conolly <[EMAIL PROTECTED]>
GPG: BED1898C | http://unmoved.net/

--
[EMAIL PROTECTED] mailing list

Reply via email to