How Linux root retrieves the password
First, retrieve the root password: 1. boot up Booting Red Hat Enterprise Linux Client (... ) in 3 seconds ... Press any key to enter the menu, 2. Select the current boot entry, such as Red Hat Enterprise Linux Client (2.6.18-194.E15) Press "E" into the editing interface, (password protection can be set: refer to "linux root Password Grup protection") 3. the editing interface has three lines of options, select the kernel start option, press "E" to enter the editing interface; 4. the last side of the command line added " single" (note the space before the single), enter return to the editing interface; 5. continue to select the kernel start option, press "B" to start the single user mode; 6. after entering the system, change password "passwd root" –-> enter root password, restart, password modification is complete. Second, the precautionary method: 1. vi /etc/grub.conf2. added password --md5 $1$pp5eg$ under timeout=5 s8ytueridzzl2kvjvmv. Save to exit. The function is to use grub to change the password when password authentication is required to change the password. Note: Where $1$a26yf$VDyOb3O3IEWo3s9wRZjqF1 generation method: #grub-md5-crypt Enter the password after the return, return, re-enter the password, Enter, generate the MD5 code of the password
This article is from the "Mq_douer" blog, make sure to keep this source http://douer.blog.51cto.com/6107588/1921587
How Linux root retrieves the password