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


Click here to return to the 'single-user mode with OF password' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
single-user mode with OF password
Authored by: donvy on Jul 25, '02 10:59:00AM

You can, in fact, still boot into single-user mode even when Open Firmware Password is set to on. Problem is, you will ALWAYS have to boot into single-user mode.

From the \"nvram\" man page:
EXAMPLES
example% nvram boot-args=\"-s rd=*hd:10\"

Set the boot-args variable to \"-s rd=*hd:10\". This would
specifiy single user mode with the root device in hard
drive partition 10.

For my setup, I just entered:
nvram boot-args=\"-s\"
and I always boot into single-user mode after going through the Open Firmware password login.



[ Reply to This | # ]
single-user mode with OF password
Authored by: Anonymous on Jul 30, '02 01:57:52AM

Hrmm... I bet you can do this from within Open Firmware itself (cmd-option-O-F), if you can get the syntax right; OF's command parser is really ugly. e.g., set boot-args 's' said unknown word: set, but boot-args 's' said unknown word: s. shrug, i'll cruise the kbase I guess.



[ Reply to This | # ]
single-user mode with OF password
Authored by: Anonymous on Sep 14, '07 10:06:05AM
Lose the quotes:
sudo nvram boot-args=-s
And it's "setenv" in OF:
setenv boot-args -s


[ Reply to This | # ]