Results 1 to 3 of 3
Why can I run halt/reboot commands as normal user? How can I do to run with normal user?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-05-2005 #1
- Join Date
- Feb 2005
How can I do to run with normal user?
- 02-05-2005 #2
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 tasksCode:
su - root
- 02-06-2005 #3
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