Am 13.09.2010 19:29, schrieb chrysn: > Package: apt-dater-host > Version: 0.8.4-1 > Severity: normal > > apt-dater-host uses sudo without the need for it when doing "aptitude -v > -y -q -s -f upgrade". in line 192, it prefixes the command with GETROOT, > although aptitude -s does not need root privileges.
You're right, is this on all installations the case, also etch, lenny and squeeze? > > this is a problem if one has a very restrictive sudo setup (eg allows > passwordless sudo only for "aptitude update", which is necessary for > apt-dater to refresh correctly, but not for other commands). when the > GETROOT prefix is removed, refresh works with minimal privileges. > > i didn't try with DPKGTOOL=apt-get, but i assume the situation is > similar. No, it needs root privileges. -- /* Mit freundlichem Gruß / With kind regards, Patrick Matthäi GNU/Linux Debian Developer E-Mail: pmatth...@debian.org patr...@linux-dev.org Comment: Always if we think we are right, we were maybe wrong. */
signature.asc
Description: OpenPGP digital signature