Yes, I wasn't aware of the id command either - that would be easier.

Not sure what's wrong now - maybe log out then log back in even if you did it from the xterm.

On Wed, 11 Jun 2003 18:23:40 +0400
 Dmitry  Suzdalev <[EMAIL PROTECTED]> wrote:
Thanks, brett.

I've already done what I wanted -- using 'id username' and then 'usermod'.

Now I have another problem: Portage still says that user is not in 'portage' group...
'less /etc/group' shows that he is there, but 'emerge -s no-matter-what'
thinks in another way :).


Do I have to take some additional steps? I tried to exit from current xterm and login in another one but to no avail. It continues to think that I'm not in portage group....

Is there something I did wrong?

TIA,
Dmitry.

On Wednesday 11 June 2003 18:11, brett holcomb wrote:
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


--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



Reply via email to