Re: RHN-like applet for APT?
On Sat, Jan 03, 2004 at 09:25:04AM -0600, Jerry Haltom wrote:
> Updating isnt' the problem. Asking for root access before updating is
> definatly neccassary. What the problem is the applet sits passive in the
> background at all times, monitoring for updates. It cannot check for
> updates without root access,
A non-privileged user can normally read /etc/apt/sources.list and check
the timestamps in /var/cache/apt. Send those timestamps as If-Modified-Since
header like apt does and the web server will tell whether they're up to
date. Just checking for updates shouldn't require root privileges.
Regards
Max
--
Max Vozeler <max@hinterhof.net> http://hinterhof.net/~max
GnuPG B7CDA2DC : 308E 81E7 B979 63BC A0E6 ED88 9D5B D511 B7CD A2DC
Reply to: