Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Too root or not to root?
Date: Fri, 22 Aug 2003 08:47:47
Message-Id: 200308221047.44612.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] Too root or not to root? by Mike Frysinger
1 On Friday 22 August 2003 02:22, Mike Frysinger wrote:
2 > On Thursday 21 August 2003 20:14, Rob Cakebread wrote:
3 > > Does anyone think its a waste to add all the sudo stuff and run as
4 > > regular user? Or just run the app as root?
5 >
6 > i think ideally it would work like this:
7 > sudo root to fetch (or maybe just portage ?)
8 > sudo root to pkg_setup
9 > run as portage to digest/unpack/compile/install
10 > sudo root to qmerge
11 > -mike
12
13 You only need to be root to install. All the other things should be doable as
14 a normal user. Possibly it would mean some maintenance on the /var/tmp dir
15 though.
16
17 For install, please take a look at libcap. It allows one to have only the
18 capabilities you need. That way chmod would be allowed by the proper user to
19 make the install fase work correctly. You would probably want to have the ide
20 ask for these rights in this case.
21
22 Paul
23
24 --
25 Paul de Vrieze
26 Gentoo Developer
27 Mail: pauldv@g.o
28 Homepage: http://www.devrieze.net