On Montag 18 Januar 2010, Patrick Matthäi wrote: > Andreas Klöckner schrieb: > > On Sonntag 17 Januar 2010, Patrick Matthäi wrote: > >> How does the /etc/sudoers file look on the target host? > > > > The relevant bit looks like this: > > ------------------------------------------------------------------------- > >------ updater ALL=NOPASSWD: /usr/bin/apt-get, /usr/bin/aptitude > > ------------------------------------------------------------------------- > >------ > > > > Another note: The setup has worked before, AFAIK unchanged aside from > > apt upgrades. > > > > Andreas > > There may be some more relevant bits in your sudoers, so it is important > to have got the full file.
Sure, here goes: ------------------------------------------------------------ # /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # See the man page for details on how to write a sudoers file. # # Host alias specification # User alias specification # Cmnd alias specification # Defaults Defaults !lecture,tty_tickets,!fqdn # User privilege specification root ALL=(ALL) ALL # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL %admin ALL=(ALL) NOPASSWD: /usr/sbin/s2disk %admin ALL=(ALL) NOPASSWD: /usr/sbin/s2ram %admin ALL=(ALL) NOPASSWD: /usr/bin/my-suspend %admin ALL=(ALL) NOPASSWD: /home/andreas/bin/connect-headset updater ALL=NOPASSWD: /usr/bin/apt-get, /usr/bin/aptitude ------------------------------------------------------------ Andreas
signature.asc
Description: This is a digitally signed message part.