wtuyss 发表于 2018-5-10 11:06:55

Redhat7破解root密码步骤

  Redhat7破解root密码步骤
  方法一:
  开机启动是调至第2项,按字母e进去,将有root=UUID…..ro的那一行,ro后面全删掉,添加rd.break(仅限该行部分),然后按Ctrl+x
  # mount –o remount,rw /sysroot/
  # chroot /sysroot/
  # passwd
  输入新密码
  # touch /.autorelabel
  # exit
  # exit
  方法二:
  开机启动是调至第2项,按字母e进去,将有root=UUID…..ro的那一行,最后的rhgbquiet改为init=/bin/bash,然后按Ctrl+x
  # mount –o remount,rw /
  # passwd
  输入新密码
  # touch /.autorelabel
  # exec /sbin/init
  
页: [1]
查看完整版本: Redhat7破解root密码步骤