I'd recommmend usermod.

Do cat /etc/group | grep username

where username is the user's name.

On Wed, 11 Jun 2003 17:39:05 +0400
 Dmitry  Suzdalev <[EMAIL PROTECTED]> wrote:
Hello!

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?


Thanks in advance for your help!

Dmitry.


-- [EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



Reply via email to