How to recover the administrator (root) password

          
Although the administrative (root) password cannot be recovered it can be erased so that you can create another password. Use the following method to do this:
  1. Ensure that the simulator isn't running.
  2. Create a copy of the existing configuration file using the following command: cp -f .setup-defaults .setup-details.orig
  3. Enable the floppy boot menu using the following command: ./setup.sh -bz
  4. Start the simulator again using ./runsim.sh. Note the simulator will stop booting at a menu.
  5. Choose the menu options to change the password.
  6. Restore the original config information using the following command: cp -f .setup-defaults.orig .setup-details
  7. Remove the floppy boot menu using the following command: ./setup.sh -z
  8. Restart your simulator.

E.g.:

[root@localhost sim]# cp -f .setup-defaults .setup-default.orig
[root@localhost sim]# ./setup.sh -bz

Script version 17 (13/Jan/2004)
Loading defaults. Run with the -i option to ignore defaults
Floppy boot set

Unattended installation or reconfig

(snip rest of output)

Complete. Run /sim/runsim.sh to start the simulator.
[root@localhost sim]# ./runsim.sh
runsim.sh script Script version 17 (13/Jan/2004)
This session is being logged to /sim/sessionlogs/log-1120833
floppy boot? yes

NetApp Release 7.0.0.1: Wed Mar 2 22:20:44 PST 2005
Copyright (c) 1992-2004 Network Appliance, Inc.

(1) Normal boot.
(2) Boot without /etc/rc.
(3) Change password.
(4) Initialise all disks.
(4a) Same as option 4, but create a flexible root volume.
(5) Maintenance mode boot

Selection (1-5)? 3

(snip output while ONTAP starts the simulator)

New password: <your new password goes here - or just press return if you want a blank password>
Retype new password: <same as you entered above>

Hit RETURN to reboot: <press return>

[root@localhost sim]# cp -f .setup-defaults.orig .setup-defaults
[root@localhost sim]# .setup.sh -z

Script version 17 (13/Jan/2004)
Loading defaults. Run with the -i option to ignore defaults
Unattended installation or reconfig

(snip output)

[root@localhost sim]# ./runsim.sh

(snip output of the simulator starting; at some point you will be asked for your new password)