shutdown.allow not working

Red Hat




Kindly Note - This is a Single User Post by Forum Member codemaniac Regarding:
shutdown.allow not working.
Please Follow The Primary Link Above to View the Full Discussion.

   
Old 03-11-2012
codemaniac's Unix or Linux Image
codemaniac codemaniac is offline
Registered User
 
Join Date: Feb 2012
Last Activity: 15 August 2016, 4:00 PM EDT
Location: /home/arijit
Posts: 120
Thanks: 3
Thanked 24 Times in 24 Posts
You can also edit the /etc/sudoers file and allow specific users to shutdown or reboot the system .Something like that .
Code:
## Allows members of the users group to shutdown this system
# %users  localhost=/sbin/shutdown -h now


Last edited by codemaniac; 03-11-2012 at 01:21 AM..
The Following User Says Thank You to codemaniac For This Useful Post:
Vaibhav.T (03-11-2012)