Am Donnerstag 29 November 2007 schrieb Robert Tulke: > Björn Keil schrieb: [...] > Du kannst das schon über die sudoers lösen auch ohne Passwort: > > apt-get install sudo > echo "backupuser ALL=(ALL) NOPASSWD:/sbin/deinbackupscript" >> > /etc/sudoers Ich empfehle visudo fürs Editieren dieser Datei. Aus der Manpage: DESCRIPTION visudo edits the sudoers file in a safe fashion, analogous to vipw(8). visudo locks the sudoers file against multi- ple simultaneous edits, provides basic sanity checks, and checks for parse errors. If the sudoers file is currently being edited you will receive a message to try again later. -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
Attachment:
signature.asc
Description: This is a digitally signed message part.