Recuperación de password de root
Procedimiento para borrar o cambiar la cable de root del JunOS de un Juniper. Probado en la Serie M.
Hit [Enter] to boot immediately, or any other key for command Booting [kernel] in 9 seconds...Pulsar la barra espaciadora para que aparezca el promtp.
Type '?' for a list of commands, 'help' for more detailed help. ok boot -s
Enter full pathname of shell or RETURN for /bin/sh:
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
Reboot the system? [y/n] y TerminatedEl sistema reinicia y la clave de root ya no está (o si la cambiamos es la que es válida).
Extraído de "http://juniper.cluepon.net/index.php/Password_recovery", traducido libremente por The Evangelist.