qianqianling 发表于 2018-7-28 10:19:24

Juniper SRX210恢复密码过程

  方法一:
  SRX210恢复密码过程:
  1,开机一直按空格健:space
  2,=>bootd
  3,loader> boot -s
  4,Enter full pathname of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery
  5,设备新密码:
  root> edit
  root# set system root-authentication plain-text-password
  New password:
  Retype new password:
  root# commit
  root# run request system reboot
  启动|重启大约4分钟
  方法二:
  Juniper密码恢复的方法,绝对管用.
  1.在控制台上,juniper路由器启动的前9秒,按空格键(只要不是回车键就可以)
  2.使用使用boot -s,进入单用户模式(可以使用?或help得到详细的帮助)
  2.启动shell,提示:
  system watchdog timer disabled jan 1 00:36:47 init: /etc/spwd.db: no such
  file or directory enter full pathname of shell or return for /bin/sh:
  直接回车进入单用户模式
  note: to go to multi-user operation, exit the single-user shell (with ^d) #
  4.mount文件系统
  #cd /packages
  #./mount.jbase (实际在进入单用户模式时,已经mount,所以不需要在做)
  #./mount.jkernel
  #./mount.jroute
  5.进入恢复模式
  #/usr/libexec/ui/recovery-mode
  6.进入配置模式
  修改或者删除系统密码,保存,退出。
  7.重启
页: [1]
查看完整版本: Juniper SRX210恢复密码过程