LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to allow certain non-root users to reboot?? (https://www.linuxquestions.org/questions/linux-general-1/how-to-allow-certain-non-root-users-to-reboot-227293/)

jdaniel 09-06-2004 09:42 AM

How to allow certain non-root users to reboot??
 
Hello,

I have a cluster and I want to allow certain users to have the ability to reboot the system but I do not want them to have root access. I am using Suse9.0. Can I restrict this permission to allowing reboot only if the users is logged in locally?

Thanks,
jdaniel

rjlee 09-06-2004 10:04 AM

You may want to look at the sudo package. If you've got APM support set up correctly, you can also configure the power button to do a soft reboot by editing the /etc/inittab file.

hw-tph 09-06-2004 10:05 AM

You can set up sudo to allow certain (or all) users access to otherwise root-only commands such as reboot and halt. You can also specify from where they can do this - only from the local computer, or from remote locations (as in when they are logged in through ssh).


Håkan


All times are GMT -5. The time now is 12:48 AM.