Centos7root crack passwords

1, after the boot by e

2, Linux16 jump to the end of the trekking added rd.break console = tty1 press Ctrl + x

3,mount -o remount,rw /sysroot

4,chroot /sysroot

5,passwd

6, enter the new password, lose one

7,touch /.autorelabel

8,exit

9,reboot

10, boot with the new password

Guess you like

Origin www.cnblogs.com/shaoshuai128/p/11590672.html