1. after restarting, press the e key quickly to show this page,
2. Use the keyboard to top and bottom around Key to find
ro converted to rw init=/bin/sh
again Find rhgb quiet Delete
3. follow the prompts. Press the ctrl+x key. Appear
4. Enter the Change password command #passwd and press ENTER to appear
5. then enter the new password (the old password is also OK), enter the end of the press ENTER , and then lose the password, appears
6. always press the Enter key to appear
7. Input Instructions
# Touch /.autorelabel ( selinux Update after restart label note touch There is a space)
#exec/sbin/init (normal start init, restart, after exec there are space keys, note / back None " . "Key" is not started, press Enter , re-enter the wrong instruction.
8. Complete
statement:
author :runnerting
original article, Welcome to Exchange, Use of this product is subject to consent .
Linux System Change Password Chapter