How to recover a lost root password?

Started by Thomas, August 23, 2010, 09:01:37 am

Previous topic - Next topic

Thomas

I know there was a NeXTanswer about that topic. I think it was this one:
2152 - Restoring Root Password  97-06-17

I looked but couldn't find it here in the archive. Does anybody have a copy of this NeXTanswer or know how to reset the root password?
NeXTcube with NeXTdimension - OPENSTEP 4.2
NeXTstation TurboColor - NeXTSTEP 3.3
NeXTstation mono

verdraith

Black hardware:


  • Reboot the system.
  • Immdeiately after the "Testing System" message is replaced with "Loading from disk", hold down the right command key and press the tilde (~) on the numeric keypad. You are now at the ROM monitor.
  • Boot the machine into single user mode. Most people boot off the hard disk, and should type the following at the ROM monitor prompt:
    NeXT> bsd -s
  • Once the system has started and dumps you at a root prompt, you need to make sure NetInfo and other services get started. Do this by typing:
    sh /etc/rc &
  • Set the root password using:
    passwd root
  • Now, reboot the system and you can use the new password.


Intel hardware:

  • Reboot the system.
  • Boot the machine into single user mode by typing the following at the bootloader prompt:
    -s
  • Once the system has started and dumps you at a root prompt, you need to make sure NetInfo and other services get started. Do this by typing:
    sh /etc/rc &
  • Set the root password using:
    passwd root
  • Now, reboot the system and you can use the new password.
Lisp Hacker

mouser

Reviving this thread for a simple thank you note.

Pulled my NeXTcube out of storage after about a dozen years and couldn't remember my password. This came in handy :-)