Recovering the Root Password (SRX Series)
If you forget the root password for the SRX100, SRX200, or the SRX600 device, you can use the password recovery procedure to reset the root password.
Note: You need console access to recover the root password.
To recover the root password:
Power off the device by pressing the power button on the front panel and reboot the device.
Turn on the power to the management device.
Power on the device by pressing the power button on the front panel. Verify that the POWER LED on the front panel turns green.
The terminal emulation screen on your management device displays the device’s boot sequence.
When the autoboot is completed, press the spacebar a few times to access the bootstrap loader prompt.
At the following prompt, enter boot -s to start up the system in single-user mode.
At the following prompt, enter recovery to start the root password recovery procedure.
Enter full pathname of shell or ‘recovery’ for root password recovery or RETURN for /bin/sh: recovery
Enter configuration mode in the CLI.
Set the root password. For example:
user@host# set system root-authentication plain-text-password
For more information about configuring the root password, see the Junos System Basics Configuration Guide.
At the following prompt, enter the new root password. For example:
New password: juniper1
Retype new password:
At the second prompt, reenter the new root password.
If you are finished configuring the network, commit the configuration.
Exit configuration mode in the CLI.
Exit operational mode in the CLI.
At the prompt, enter y to reboot the device.
Reboot the system? [y/n] y