View previous topic :: View next topic |
Author |
Message |
podollb Apprentice
Joined: 05 May 2005 Posts: 190
|
Posted: Wed Sep 21, 2005 1:13 am Post subject: Adding a regular user to the portage group [SOLVED] |
|
|
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 |
|
|
user118696 Apprentice
Joined: 16 Sep 2005 Posts: 276
|
Posted: Wed Sep 21, 2005 1:31 am Post subject: |
|
|
I don't see why usermod -G portage <username> shouldn't work?? Never tried but... who knows. |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Wed Sep 21, 2005 1:50 am Post subject: |
|
|
Code: | gpasswd -a <user> portage |
|
|
Back to top |
|
|
podollb Apprentice
Joined: 05 May 2005 Posts: 190
|
Posted: Wed Sep 21, 2005 4:58 am Post subject: |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Wed Sep 21, 2005 5:09 am Post subject: |
|
|
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 |
|
|
|