<BR>
<BR># sudoers file.
<BR>#
<BR># This file MUST be edited with the ´visudo´ command as root.
<BR>#
<BR># See the sudoers man page for the details on how to write a sudoers file.
<BR>#
<BR>
<BR># Host alias specification
<BR> Host_Alias LO=camiletto
<BR># User alias specification
<BR> User_Alias MARCO=maboscol,fely
<BR># Cmnd alias specification
<BR> Cmmd_Alias SHUT=/sbin/halt,/sbin/reboot
<BR> Cmmd_Alias WEB=/usr/sbin/adsl-setup,/usr/sbin/adsl-start,/usr/sbin/adsl-stop,/usr/sbin/adsl-status
<BR># Defaults specification
<BR>
<BR>MARCO LO=SHUT,WEB,NOPASSWD :ALL
<BR>
<BR># User privilege specification
<BR>root ALL=(ALL) ALL
<BR>
<BR># Uncomment to allow people in group wheel to run all commands
<BR># %wheel ALL=(ALL) ALL
<BR>
<BR># Same thing without a password
<BR># %wheel ALL=(ALL) NOPASSWD: ALL
<BR>
<BR># Samples
<BR># %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
<BR># %users localhost=/sbin/shutdown -h now
<BR>
<BR>
<BR>Allora: i prblemi sono 2.
<BR>il primo è che anche se nel file /etc/profile, nella path, ho inserito ":/sbin:/usr/sbin:" se tento da utente di dare "sudo halt", mi dice che non trova il comando (anche se c´è il percorso sbin nella path!).
<BR>L´altro è che mi trova errori nel file, perchè se provo a dare "sudo /sbin/halt", (ovviamente anche con gli altri comandi!
<BR>
<BR>>>> sudoers file: syntax error, line 8 <<<
<BR>>>> sudoers file: syntax error, line 10 <<<
<BR>sudo: parse error in /etc/sudoers near line 8
<BR>
<BR>Che faccio?<br>


