CentOS system operation, sometimes need to reset the root password, and CentOS 7 root password reset method is slightly different from the previous versions, many people do not know how to reset the root password, the following small series for everyone Introduce how CentOS 7 resets the root password. Let's learn together.
Procedure:
1 - grub boot menu, select the option to start editing
2 - e Press keyboard keys to enter the editing interface
3 - Linux find the line 16, to the ro rw init = /sysroot /bin /
4 - now press Control + x, single-user mode < Br>
5 - Now, you can use the following command to access the system
chroot /sysroot
6 - reset password
passwd root
7 - Update system information
touch /.autorelabel
8 - Exit chroot
exit
9 - Restart your system
reboot
The above is the way CentOS 7 resets the root password. This method is only applicable to the CentOS 7 version. Other versions of the root reset are different and I hope to help you.
Using cobbler under Linux can quickly establish a Linux network installation enviro
When you are working on a Linux system, the mount hard disk appears mount:Structure needs cleaning e
A lot of software under Linux needs to be released as a source package. It is very troublesome to in
Learning to use Linux is actually getting familiar with the various Linux operations. Of course, the
Linux installation and configuration of mrtg method
Docker container usage examples in Linux
How Ubuntu uses the source command to execute files
How Linux mounts iso yum source in virtual machine
How to use ext3grep to recover files on Linux
Linux/Unix uses the md5sum command to compare file md5 values
How to install and use Vsftp in Centos system
Ubuntu how to choose IPv4 or IPv6 channel when using apt-get update
Linux to see if the system is attacked by cc
Linux uses the sftp command to transfer files. Step
Microsoft Win10 Creator Update 15002 Preview Image Download Leaks New Features at
WIN2003 IIS 500 internal server error (typical ACCESS database can not be accessed) Resolve
How to delete restore points in Windows7?
USB 2.0 driver cannot be installed under Windows XP
How Win10 connects to hidden wireless networks
Install the quick broadcast prompt "Extract, can not write to the file"
Four ways to speed up the startup of Win XP
How to delete the right-click redundant menu