L'errore che mi da' e' questo:
nesquik@portatile:~$ sudo halt
sudo: halt: command not found
ora ho inserito le due righe
%users LO=/sbin/shutdown -h now
%users LO=/sbin/reboot
nell'/etc/sudoers ma ancora non funge...
Eppure i comandi sono visti da sudo, ecco l'output
di un sudo -l
nesquik@portatile:~$ sudo -l
User nesquik may run the following commands on this host:
(root) /sbin/halt, /sbin/shutdown, /sbin/reboot
(root) /sbin/mount, /sbin/umount
(root) /bin/rm, /usr/sbin/hddtemp
(root) NOPASSWD: ALL
(root) /sbin/shutdown -h now
(root) /sbin/reboot
![]()