linux reset the root password
1. Single-user Mode Power
2. Press e to enter edit mode
3. Locate linux16, add init = / bin / bash at the end of
4. Press the start ctrl + x
5.mount -o rw, remount / remount /
6.vi / etc / seliunx / config 关闭 seliunx (SELinux = disabdled)
7.passwd Change Password
8. Restart the server
1. Single-user Mode Power
2. Press e to enter edit mode
3. Locate linux16, add init = / bin / bash at the end of
4. Press the start ctrl + x
5.mount -o rw, remount / remount /
6.vi / etc / seliunx / config 关闭 seliunx (SELinux = disabdled)
7.passwd Change Password
8. Restart the server