[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gnome-apt hmm



Previously Havoc Pennington wrote:
> Unless it's suid (not possible, it would open about 1000 security holes),
> there's no way for it to change its uid to 0 anyway so if you start as
> non-root there's no way to change that. 

Actually you could probably do something weird with capabilities in
2.1/2.2 kernels using a wrapper to do the authentication.. but I don't
think we even want to try that.

> It would be nice to be able to load and save the current state of the
> package tree; then you could save the state as a regular user, and re-load
> it as root.

I'm not sure if we want that; for a multi-user system that would mean
any user can change the state to something the administrator is not
happy with.

> > There is a problem where reformatting descriptions adds more
> > processing overhead... but should be worth it, no?
> 
> Nah, that's totally trivial processing, and it's only for one package
> at a time.

Reformatting has a *very* low complexity, you shouldn't notice that at
all.

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wakkerma@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgplTWEYCLOwN.pgp
Description: PGP signature


Reply to: