On RedHat any valid user can shut down or reboot the sysytem by giving the following shell command user@machine # poweroff
user@machine # reboot
How can I disable it? I have already disabled CrlAltDel.
Also is there any other way a nonprivileged user can shutdown a system, if so how do I disable it.
Geek by Nature
GNU/Linux by choice
If GNU/Linux doesn't have the solution, you have the wrong problem
mailto: varunop@yahoo.com
website: http://varunop.blogspot.com
Unix is very simple, Only it takes a genius to simplify it
--------------------------------- Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more
--- Varun varunop@yahoo.com wrote: >
On RedHat any valid user can shut down or reboot the sysytem by giving the following shell command user@machine # poweroff
user@machine # reboot
did u try the shutdown.allow and shutdown.deny files in /etc?
===== ninad purohit ninadonline(at)yahoo(dot)co(dot)in have a nice day :-)
________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com
There is no shutdown.allow or shutdown.deny in the /etc/ directory in RedHat
Ninad Purohit ninadonline@yahoo.co.in wrote:**************************************************** * GLUG Meet - 4.00pm Sun. 13th April, 2003 @ HBCSE * ****************************************************
--- Varun wrote: >
On RedHat any valid user can shut down or reboot the sysytem by giving the following shell command user@machine # poweroff
user@machine # reboot
did u try the shutdown.allow and shutdown.deny files in /etc?
===== ninad purohit ninadonline(at)yahoo(dot)co(dot)in have a nice day :-)
________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com
--- Varun varunop@yahoo.com wrote: > There is no shutdown.allow or shutdown.deny in the /etc directory
u have to create those files manually (as root)
and add the names of users to them
for example
as a root
type vi /etc/shutdowndeny inside type user1 save the file
this will disallow reboot/shutdown access for user1
===== ninad purohit ninadonline(at)yahoo(dot)co(dot)in have a nice day :-)
________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com