Security Basics mailing list archives

Re: Linux shutdown


From: Marco Bellini <seathrun () tiscali it>
Date: Thu, 28 Oct 2004 13:44:53 +0200

You should have a look at SUDO... you can configure it to allow a user
(or a subset of all users) to execute a command or a subset of command.
Henc,e you can allow user XYZ to execute shutdown: he will be prompted
for HIS password and not root's password. It's highly configurable,
IMHO...

bye

marco


On Thu, 2004-10-28 at 00:33, Alvin Oga wrote:
hi ya

Hi peolple
Do you know how to do a Linux (clear) shutdown without root privileges 
from login screen?
I want to give a user the privilege of shutdown the server without being 
root.  I have heared about umount problems of the file system.

if they are in kde/gnom ... and you didnt change anything, they can
shutdown like they would a windoze box kde(start)->logout->shutdown

if they like console .... ctl-alt-F1  than ctl-alt-del

if you like to work harder .. setup up with sudo for running either
      halt, shutdown or reboot or init 6 or gazillion other possibilities

c ya
alvin
-- 
Linux(Happy)User #367.189


Current thread: