Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: halt/reboot

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005


    Why can I run halt/reboot commands as normal user?
    How can I do to run with normal user?

  2. #2
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    The DairyLand
    well you dont realy want to be able to do thoes as a normal user... but in a shell you can su(switch user) then preform thease tasks
    su - root
    enter then root passwd
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds

  3. #3
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Seattle, Washington
    It was orgionally done this way to because Linux was made as a server and or workstation and as a server it is more secure to only have root shutdown a server. Most of the time shutdown is in /sbin/shutdown. I usually create a group add the users i want to it. I call it shutdown group, then I chmod g+x /sbin/shutdown. That fixes it for me.
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts