Password recovery

see also: http://juniper.cluepon.net/index.php/Password_recovery

Step-by-step


        Hit [Enter] to boot immediately, or any other key for command prompt.

        Booting [kernel] in 9 seconds...

        < Press the space bar at this point >
        Type '?' for a list of commands, 'help' for more detailed help.
        ok boot -s
        NOTE: to go to multi-user operation, exit the single-user shell

(with ^D)

        # cd /packages
        # ./mount.jbase
        Mounted jbase package on /dev/vn1...
        # ./mount.jkernel
        Mounted jkernel package on /dev/vn2...
        # ./mount.jroute
        Mounted jroute package on /dev/vn3...
 # /usr/libexec/ui/recovery-mode
        root> configure
        Entering configuration mode

        [edit]
        root# delete system root-authentication
        [edit]
        root # commit
        commit complete

        [edit]
        root@router# exit
        Exiting configuration mode

        root@router> exit

Exit recovery mode and enter “y” when prompted to reboot the system:

        Reboot the system? [y/n] y
        Terminated

The system now reboots and changes made to root authentication are activated.