1.关机
2.按e进入grub


linux破解密码

 

3.在linux16行末尾输入 rd.break console=tty1
 
linux破解密码

 

 

 

4.按ctrl+“X”执行。
 
5.输入

mount -o remount,rw /sysroot
chroot /sysroot
passwd                               #输入2次密码


linux破解密码

 

6.touch /.autorelabel
7.exit
8.reboot

  

linux破解密码

重启之后如果能用密码进入,说明破解成功。
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-22
  • 2021-12-27
  • 2022-12-23
  • 2021-07-27
  • 2021-08-31
  • 2021-09-01
  • 2022-12-23
相关资源
相似解决方案