On Wed, Jun 11, 2003 at 06:23:40PM +0400, Dmitry Suzdalev 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?
You're running a desktop session? If so, you need to exit and restart that. Starting another xterm isn't really logging in - it's just starting another process associated with the running desktop. Nathan Meyers [EMAIL PROTECTED] > > 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