View Full Version : shutdown -P now

30th March 2006, 04:00 PM
From looking at man, it seems like this should work. I think it did work at one time.

My intent is to shutdown and power off.

Now the OS won't accept the command unless I'm logged in as root. No biggie.

However, it also doesn't shutdown. It drops run levels and I end up at a very short prompt, but even if I type the same command in there, it just loops and never pwoers down. ???

30th March 2006, 04:03 PM
Try 'poweroff' - should work from user too.

30th March 2006, 04:05 PM
Or shutdown -h now from a terminal as root.

30th March 2006, 04:06 PM
I use "shutdown -h now" and it works.
I edited the /etc/sudoers file allowing to my user account to run that command with sudo

30th March 2006, 06:02 PM
I'm sorry, but I was overwhelmed by the number of options for shutting down. Halt, Poweroff, Shutdown and Reboot all seem to have the same capabilities depending on switches, but I didn't realize that privileges also make a difference.