LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to run reboot command??? (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-run-reboot-command-646917/)

ajeetraina 06-04-2008 06:18 AM

Unable to run reboot command???
 
Hello Guys,

I have a redhat EL 4 machine in which I cant run reboot command.
How to enable that?
For now,I can only run #poweroff and then hard boot it.
Pls help.

watcher69b 06-04-2008 06:33 AM

If you are root and cannot reboot make sure you are a member of the wheel group

Can you run 'init 6' instead of the reboot command?
what is your $PATH?


Also try:
For a normal user
vi /etc/sudoers

near the bottom there is a line that says
## Allow members of the users group to shutdown this system
# %users localhost=/sbin/shutdown -h now

ubyt3m3 06-05-2008 08:58 AM

Any error message when you type 'reboot'?
I don't think a regular user can run reboot by default.
You might want to set sudo as watcher69b suggested if this is for regular users.

chrism01 06-05-2008 06:37 PM

Try
shutdown -r


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