Talk:Howto allow non-super users to shutdown computer in Linux

I have in my /etc/sudoers:

%wheel	ALL=	NOPASSWD: /sbin/shutdown

... which says to allow all users in group wheel to use the sudo command to run /sbin/shutdown as root, without entering a password. I had not noticed that chmod u+s /sbin/shutdown would have worked. --Kernigh 17:40, 3 February 2007 (UTC)