che errore ti da?

io ho messo così:

%users localhost=/sbin/shutdown -h now
%users localhost=/sbin/reboot