sudo chmod u+s /sbin/shutdownand run
shutdown without sudo.alternative: Allow shutdown for all users in the admin group in the sudoers file (see here):
sudo visudoAdd at the end of the sudoers file:
%admin ALL=NOPASSWD: /sbin/shutdownAfter logging out and in again, use
sudo shutdown without the password prompt.
No comments:
Post a Comment