LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-20-2004, 04:50 AM   #1
Kernel 2.6.5
Member
 
Registered: Apr 2004
Location: Canada
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
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?
 
Old 05-20-2004, 05:24 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
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
 
Old 05-20-2004, 09:07 AM   #3
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,261

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't reboot or halt without being root. alex1986 Linux - Newbie 10 12-03-2005 08:25 PM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 04:28 PM
Weird reboot-halt problem pavlidisd Linux - General 2 03-18-2004 04:54 AM
halt and reboot in gnome tuggy Debian 1 08-28-2003 11:25 PM
halt, shutdown, and reboot HappyDude Linux - Software 29 07-24-2003 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration