Forgot your password after linux system solutions

Linux virtual machine system is turned on
when to enter the following interface when the mouse click into the linux interfacefastThe keyboard eKey to
Here Insert Picture Description
enter the following interface after pressing e
Here Insert Picture Description
place using the keyboard arrow keys and then found as shown below:
Here Insert Picture Description
use UTF-8 in a space behind the partition and then add content:init=/bin/sh
Then usectrl+xSave and exit
and then enter the following command line interface;
Here Insert Picture Description
then remount the root directory;
enter the command:mount -o remount ,rw /
Next, modify the configuration file == / etc / sysconfig / selinux == selinux permanently closed
to a position shown in FIG modify Disabled;
Here Insert Picture Description
then wq save and exit; passwd then modify passwords
passwd and continuously enter the new password twice i.e. can;
then you can use the new password to restart after shutdown;

Published 10 original articles · won praise 1 · views 200

Guess you like

Origin blog.csdn.net/yang_x_b/article/details/103768315