Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 265583

Summary: portage should have the ability to configure the 'superuser' at runtime
Product: Portage Development Reporter: Andrei Slavoiu <ansla80>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrei Slavoiu 2009-04-09 21:49:17 UTC
On a gentoo machine I have a second ROOT where I want to give a regular user the ability to install packages. I know there is a config option for portage to change the root usr, but since I use the same portage as for my main ROOT I can not use this.
What would be best is to have an option in make.conf, say PORTAGE_SUPERUSER=<username> that defaults to 'root' if not explicitly specified.

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-09 21:58:39 UTC
You may be interested in http://www.gentoo.org/proj/en/gentoo-alt/prefix/ - Seems like this project aligns with your goals, unpriveledged and offset.
Comment 2 Andrei Slavoiu 2009-04-09 23:33:30 UTC
I'm aware of the "Gentoo Prefix" project, but I don't think it would work for me, the ROOT that I want to be managed by a regular user is used for crosscompiling, using crossdev-wrappers.
Comment 3 Fabian Groffen gentoo-dev 2009-04-10 08:04:01 UTC
anywayz, zmedico if you look into this, please also consider the Prefix code, such that we eventually can both share the same code.