HOW TO RECOVER ROOT PASSWORD OF SRX SERIES DEVICES
 

How to Recover Root Password of SRX Series Devices.If you forget the root password for an SRX Series device, you can use the password recovery procedure to reset the root password. This procedure also involves disabling the watchdog functionality to allow the system to properly boot into single-user mode.

Note: You need console access to recover the root password

To recover the root password for an SRX Series device:

  1. Power on the device by pressing the power button on the front panel. Verify that the POWERLED on the front panel turns green.

    The device’s boot sequence on your management device appears on the terminal emulation screen.

  2. When the autoboot completes, press the Spacebar a few times to access the bootstrap loader prompt.
  3. In operational mode, disable the watchdog functionality and enter boot -s to start up the system in single-user mode.
    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.
  6. Set the root password.
    [edit]user@host# set system root-authentication plain-text-password
  7. Enter the new root password.
    New password: juniper1 Retype new password:
  8. At the second prompt, reenter the new root password.
  9. If you are finished configuring the network, commit the configuration.
    root@host# commit commit complete
  10. Exit from configuration mode.
  11. Exit from operational mode.
  12. Enter y to reboot the device.
    Reboot the system? [y/n] y

    The start up messages display on the screen.

  13. Once again, press the Spacebar a few times to access the bootstrap loader prompt.
  14. In operational mode, enable the watchdog functionality and enter boot to start up the system.
    loader>watchdog enableloader>boot
  15. The SRX Series device starts up again and prompts you to enter a user name and password. Enter the newly configured password:
    Wed Jul 12 14:20:21 UTC 2011Deviceabc (ttyu0)login: rootPassword: juniper1

Hope you will like my post.How to Recover Root Password of SRX Series Devices.Please share with others.