Je n'ai pas eu le tmps de tester ce midi mais voici une copie de mon sudo : si j'ai tout compris, si je veux rendre un script excecutable à partir de ma session "fred" sans devoir me loger sous root je dois rajouter :
fred ALL=(ALL) ALL voilà le fichier # sudoers file. # # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. # # Host alias specification # User alias specification # Cmnd alias specification # Defaults specification # Runas alias specification # User privilege specification root ALL=(ALL) ALL # 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 # Samples # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom # %users localhost=/sbin/shutdown -h now
========================================= Vous souhaitez acquerir votre Pack ou des Services Mandriva? Rendez-vous sur "http://store.mandriva.com". Rejoignez le club mandrake : http://www.mandrivaclub.com =========================================
