how to restrict users from shutting down and rebooting server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone
I am a newbie to linux I have installed RedHat Linux AS 2.1.
I am running this server for testing . I created a user using adduser command after login I try to execute command shutdown it says command not found but when I tried halt,poweroff and reboot commands they worked My first question is that if a user is not allowed to use shutdown command then why they are allowed to execute other commands for same purpose.
Second question is how do I restrict all users (except root and  two other) users from shutting down and rebooting the server.
Somebody pls help me.
Thanks in advance.
 


Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux