RHCSA study notes two: Redhat operating system ROOT crack user passwords

A: Restart Redhat operating system, according to the following interface e

1.png


Second, linux16 added at the end rd.break, the position shown in FIG, ctrl + x execution

2.png


Third, in turn input

1mount -o remount,rw /sysroot

2chroot /sysroot

3passwd root

4 , enter the new password:

5 , Confirm Password

6touch /.autorelabel

7exit

8exit



3.png


Fourth, you can use the new password after waiting for reboot

141.png


Guess you like

Origin blog.51cto.com/14495437/2428457