Allow shutdown/restart if logged in another terminal
Posted
by
user20415
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user20415
Published on 2011-06-21T23:29:48Z
Indexed on
2011/06/22
0:32 UTC
Read the original article
Hit count: 288
I have Natty installed.
Howto allow shutdown/restart if other user logged in another terminal, for example using CTRL-ALT-DEL?
I've tried to add the following lines in /etc/sudoers:
user ALL=(root)NOPASSWD:/sbin/reboot user ALL=(root)NOPASSWD:/sbin/halt user ALL=(root)NOPASSWD:/sbin/shutdown
and
sudo chmod 750 /sbin/shutdown
sudo chmod 750 /sbin/reboot
or
create /etc/shutdown.allow
but it doesn't help and I still get Gnome login mask.
© Ask Ubuntu or respective owner