Sudo even more secure
Eric Feliksik
milouny at gmx.net
Fri Mar 24 00:23:13 GMT 2006
Jan Claeys wrote:
> I don't want everybody to be able to install (system-wide) packages, but
> I want apt to (be able to) run as non-root...
>
> Why doesn't/can't apt & co. run as (e.g.) a user "apt" to install
> packages that aren't core system packages?
The point is, as Dennis says, 'core system' is not really defined. Then
still, you probably wonder why games can't be installed as user. Well,
they can, if you download & compile them, but then you should manually
tell the configure-script where to install and where to find it's
dependencies (libraries).
You *could* implement this for apt, so you can tell apt to install
program A in you home-dir, but then it should check if A's dependencies
A_dep1 and A_dep2 are there in the root-dirs (/usr/lib etc), and if not,
it should install them in you homedir too. Even more, that means A
should be linked to A_dep1 and A_dep2 differently, which makes things
more complex. This also fills your homedir quite quickly.
Nobody is willing to maintain such a situation, because you either make
sure you're root, and install things with the beautiful existing apt, or
you just download the source and run `./configure --lots-of-options &&
make && make install'.
More information about the ubuntu-devel
mailing list