Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Adding a regular user to the portage group [SOLVED]

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
podollb
Apprentice
Apprentice
Posts: 190
Joined: Thu May 05, 2005 1:12 pm

Adding a regular user to the portage group [SOLVED]

  • Quote

Post by podollb » Wed Sep 21, 2005 1:13 am

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.
Top
user118696
Apprentice
Apprentice
Posts: 276
Joined: Fri Sep 16, 2005 2:24 am

  • Quote

Post by user118696 » Wed Sep 21, 2005 1:31 am

I don't see why usermod -G portage <username> shouldn't work?? Never tried but... who knows.
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Wed Sep 21, 2005 1:50 am

Code: Select all

gpasswd -a <user> portage
Top
podollb
Apprentice
Apprentice
Posts: 190
Joined: Thu May 05, 2005 1:12 pm

  • Quote

Post by podollb » Wed Sep 21, 2005 4:58 am

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...
Top
kimchi_sg
Advocate
Advocate
Posts: 3039
Joined: Fri Nov 26, 2004 11:11 am

  • Quote

Post by kimchi_sg » Wed Sep 21, 2005 5:09 am

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.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic