how to give a user right to shutdown?
I'm working in an office nad so I cannot give root password to anyone in the office. So I have created a user in my linux which has some rights to work on machine. But i don't know how to give that user the right to shutdown or reboot the machine. Would anyone help me in this. thanx in advance. ;)
|
i am not realy sure, but you can try to set the SUID-Bit on shutdown with
chmod +s /sbin/shutdown |
Howzit
in /etc create a file called shutdown.allow place their names in this file, they must use cmd: shutdown -a chow |
This isn't network related, Moved to Linux General
|
All times are GMT -5. The time now is 12:46 PM. |