LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can only reboot or halt as root (https://www.linuxquestions.org/questions/slackware-14/can-only-reboot-or-halt-as-root-183609/)

Kernel 2.6.5 05-20-2004 03:50 AM

Can only reboot or halt as root
 
as of today i can only use the reboot and halt commands as root or super user.... when i use the GUI Config tool in KDEs control center it tells me that its configured so all users can use those commands localy and only root can remotely (the way i want it)....

any ideas?

keefaz 05-20-2004 04:24 AM

For my part I did (assuming you're in the "users" group)

$ su
# visudo
--and I add this line :
%users localhost=/sbin/shutdown -h now

ringwraith 05-20-2004 08:07 AM

If you are absolutely unconcerned about someone else using your system
chmod +s /sbin/halt
chmod +s /sbin/reboot


All times are GMT -5. The time now is 02:23 PM.