Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Huh? | 20 comments | Create New Account
Click here to return to the 'Huh?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Huh?
Authored by: babbage on Feb 10, '02 03:54:22PM
I'm not sure what you did, exactly, but "sudo shutdown now" does exactly that for me -- it shuts the system down now. The only variation I ever use is "sudo shutdown -r now", which reboots automatically. The closest flag I see is -k, which:
Kick every body off. The -k option does not actually halt the system, but leaves the system multi-user with logins disabled (for all but super-user).

This sounds vaguely like single-user mode, but the term isn't actually used so I'm not sure if it counts. So tell us, is this really what you executed, or was there some flag applied? Because, when doing exactly what you describe, I get the book behavior, not this single user mode you talk about...

[ Reply to This | # ]

Not here...
Authored by: robg on Feb 10, '02 04:21:27PM

On both our G4/733 and iBook 500, "sudo shutdown now" winds up at the "localhost#" single-user prompt; the machine does NOT power off.

Typing "exit" from that point launches "multi-user startup" and returns to the Aqua environment.

-rob.



[ Reply to This | # ]
Not here...
Authored by: babbage on Feb 10, '02 09:04:03PM

Brainfart & apologies -- I was thinking of "shutdown -h now", which does as I described, because the -h Halts. Omitting it, which I've basically never needed to do (not that that means all that much), would drop into a kind of single user mode. My apologies for the confusion/error.



[ Reply to This | # ]
shutdown does shutdown.
Authored by: uurf on Feb 11, '02 10:16:17PM
my experience on two different machines:
sudo shutdown now 
shuts down the machine. It only drops into single user mode if the machine was placed in single user mode on startup (cmd-s on bootup).

[ Reply to This | # ]