ROOT PASSWORD RECOVERY OF JUNIPER SRX

There are times when administrators forget the root password for an SRX platform devices and Juniper has provision to address this situation and use password recovery procedure to reset the root password.In this process watchdog functionality will be disabled to allow the system to properly boot into single user mode.

BELOW IS THE STEP BY STEP PROCESS TO RECOVER ROOT PASSWORD FOR [P2P TYPE=”SLUG” VALUE=”JUNIPER-SRX-COMPARISON”]SRX PLATFORM[/P2P] –

1 – Press power button on the front panel to power on the router. The POWER LED on the front panel turns green. Also, the console should continuously display the boot message.

2 – When the autoboot completes, press the Spacebar a few times to access the bootstrap loader prompt.

3 – Disable the watchdog functionality and enter boot -s to start up the system in single-user mode as below –

loader> watchdog disable
loader>boot –s

The SRX Series device will start up in single-user mode.

4 – Enter recovery to start the root password recovery procedure.

System watchdog timer disabled.Enter full pathname of shell or ‘recovery’ for root password recovery or RETURN for /bin/sh: recovery

5 – Enter configuration mode in the CLI and set the root password –

[edit] user@host# set system root-authentication plain-text-password

6 – Enter the new root password.

New password: junipersrx
Retype new password: junipersrx 

7 – Once configured, commit the configuration.
root@host# commit
commit complete
8 – Exit from configuration mode. Then, Exit from operational mode.

9 – Request system reboot. Then, Enter y to reboot the device.

root@host# run request system reboot
Reboot the system? [y/n] y

The start up messages display on the screen.

10 – press the Spacebar a few times to access the bootstrap loader prompt.

11 – In operational mode, enable the watchdog functionality and enter boot to start up the system.

loader>watchdog enable
loader>boot
12 – The SRX Series device starts up again and prompts to enter a user name and password. Enter the newly configured password:
Sat Jan 12 11:12:32 UTC 2011
Devicenew (ttyu0)
login: root
Password: junipersrx

Hope this document helped the audience with procedure to recover root password of SRX device platform.

Reference –

https://www.juniper.net/techpubs/en_US/junos/topics/task/operational/security-root-password-srx-series-device-recovering.html

 

Please follow and like us:

Related Post

Add Comment

Social Media Auto Publish Powered By : XYZScripts.com
Select your currency