Skip to main content
5 of 6
Rollback to Revision 3
daviesgeek
  • 39.6k
  • 52
  • 163
  • 204

Detect single-user mode from the command line

Is there a way to detect single-user mode in OSX (Lion, specifically) from the command line?

I've tried who -r, which returns 3 in either standard or single-user mode.

I've also tried nvram boot-args, which does not work either.

Google isn't helping much with this...

Scot
  • 8.1k
  • 4
  • 40
  • 46