Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adding a regular user to the portage group [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
podollb
Apprentice
Apprentice


Joined: 05 May 2005
Posts: 190

PostPosted: Wed Sep 21, 2005 1:13 am    Post subject: Adding a regular user to the portage group [SOLVED] Reply with quote

Is there an easy way to add a person to the portage group? I thought it might be as easy as just adding my user (non-root) to the actual group named portage. But that didn't seem to work. Should it have? If not, what are the steps to do that?

Last edited by podollb on Wed Sep 21, 2005 5:23 am; edited 1 time in total
Back to top
View user's profile Send private message
user118696
Apprentice
Apprentice


Joined: 16 Sep 2005
Posts: 276

PostPosted: Wed Sep 21, 2005 1:31 am    Post subject: Reply with quote

I don't see why usermod -G portage <username> shouldn't work?? Never tried but... who knows.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Sep 21, 2005 1:50 am    Post subject: Reply with quote

Code:
gpasswd -a <user> portage
Back to top
View user's profile Send private message
podollb
Apprentice
Apprentice


Joined: 05 May 2005
Posts: 190

PostPosted: Wed Sep 21, 2005 4:58 am    Post subject: Reply with quote

ok thanks. Now it still complains that "root access is required" when I try to emerge anything as a regular user even after I added myself to the portage group. I am starting to get the feeling it really isn't something that is meant for regular users...
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Wed Sep 21, 2005 5:09 am    Post subject: Reply with quote

podollb wrote:
Now it still complains that "root access is required" when I try to emerge anything as a regular user

That's the point it is trying to tell you! :)

In Unix / Linux the root user is unique. There is one and only one root user. All others are mortals, regular users.

No matter what group / passwd file settings / phase of the moon / hurricane it is, no other user can do any task that requires root user's powers.

If you want mortal users to do things which require root priviledges, consider installing and configuring the sudo package. This guide will help you configure sudo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum