Hi,

* On 24'th Apr 2002 07:58:19 PM <[EMAIL PROTECTED]> wrote :
> Hi,
>       I have a problem. I am not able to provide root access to the 
> people who actually start and stop the server on a daily basis. But I do 
> not also want anyone to have the permission to shut-down a server.
>       So, how do I allow a single non-privileged user to shut-down 
> the server?

You can also do this..

1) Edit /etc/inittab .
2) Find the line's like below

# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -rf now

3) Add the -a switch to shutdown , (i,e) change the above line to

# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -a -t5 -rf now

4) Create /etc/shutdown.allow

5) Put in the user name's line by line who have shutdown privileges.

man shutdown for more details.

cheers
dushyanth
-- 
hmmm... you think that's air that you're breathing now?

Dushyanth Harinath
Archean Infotech Ltd
http://www.archeanit.com
http://symonds.net/~dushy

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to