Re: Ausführungsrechte
On Thursday 05 July 2007 16:11, Peter Jordan wrote:
> Hallo,
>
> ich habe folgendes Problem:
>
> Ich habe unter debian etch eine Gruppe group1 ist. Dieser Gruppe möchte
> ich das passwortfreie Ausführen des Programms rsync als root und einiger
> BASH-Skripte als root ermöglichen. Desweiteren muss die Konfiguration
> der Ausführungsrechte mit einem automatischen Skript möglich sein.
>
> Hat jemand ne Idee? Sudo und SUID entsprechen, meines Wissens nicht
> meinen Anforderungen.
Ach nein?
Aus meiner sudoers:
--------------------------------------------------------------------------------------------------------
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Users in group www are allowed to edit httpd.conf and ftpd.conf
# using sudoedit, or sudo -e, without a password.
# %www ALL=(ALL) NOPASSWD:
sudoedit /etc/httpd.conf, /etc/ftpd.conf
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
--------------------------------------------------------------------------------------------------------
Wie wär's mit %group1 ALL=/usr/bin/rsync,/usr/local/bin/script1 NOPASSWD:
ALL ? (ungetestet)
--
Greetings
Chris
Reply to: