It is well known that in RHEL5, the method of modifying the root password is relatively simple. Only in single-user mode, passwd can be modified successfully.
But this trick is not working in RHEL6.
There are currently 3 ways to modify it. Among them, use the CD to enter the repair mode. I will not introduce this method here. Through network search and your own exploration, a certainty: In the virtual machine, there are two kinds of remedies to solve the root reset problem.
The first remedy. (very similar to the RHEL5 method)
Enter single-user mode, close selinux, and then you can successfully modify it.
setenforce 0 passwd second remedy. (Very savage method, I haven't figured out what makes sense, but it works) I still enter single-user mode. Modify the /etc/passwd file to delete the x in the first line root:x:; enter level5 mode, log in with the root account (no password is required at this time), and now you can change the root password.
Perhaps the user will misuse the grub.conf file and it will not be able to enter Linux operating sy
In the various Linux distributions now, the enterprise version of red hat is relatively safe. For t
In different Linux distributions, there will be different GUI programs that can display various syst
AWK Stands for ‘Aho, Weinberger, and Kernighan‘Awk is a scripting language which is use
Solve ntp error no server suitable for synchronization found
Common commands for creating and deleting Linux directories
The principle and function of Redo log
STM32 uses IAP to update user programs
Linux server performance optimization process
Linux large file splitting split command
Well-known Linux operating system Emergency processing method
12306 account password forgot to do?
How to deal with the dead loop of user state process under Linux
Large-scale report division of labor cooperation
After the Win10 system notebook is turned on, the black screen and the fan do not turn. How to do
Windows 8 hidden feature open tool release
Linux resource limit level summary
Win7 system how to set the power plan
Win8 shared wireless to achieve mobile phone Internet detailed tutorial
How does WinXP turn off hardware acceleration? Turn off hardware acceleration method
[Video] Win10 10108 latest preview version exposure first video start experience