In the operation of Linux system, for the security of the system, the password of the root account in the system will be set, so forgetting the password is a common occurrence. What if I forget the root password? The following small series will introduce you to the solution of forgetting the root password under Linux.
Step 1: restart the countdown time by clicking the & ldquo; box & rdquo ;.
Step 2: The following will appear:
The code is as follows:
root (hd0,0)
kernel /vmlinuz-2.6.18-128 .el5 ro root=LABEL=/rhgb quiet
initrd /initrd-2.6.18-128.el5.img
Click on the keyboard “e” to enter edit mode.
Step 3: Add single after the second line as follows:
The code is as follows:
kernel /vmlinuz-2.6.18-128.el5 ro root=LABEL= /rhgb quiet single 4
After pressing Enter, press “b”, enter single-user mode, directly use the command
code is as follows:
passwd root
Change the password.
The above is the processing method for forgetting the root password under Linux. If you have forgotten the root password, don't worry, follow the steps above to modify the root password to solve your problem easily.
For Linux systems, users must be impressed with its powerful commands, but many Lin
tcpdump is a packet capture command in the Linux command. It can intercept and analyze the data pack
On Linux systems, if SSH does not work for a long time, the request timeout will be automatically di
for Linux RRDtool is a way to store data, is a powerful drawing engine, so how to use RRDtool on Li
How to test the performance of a Linux disk using the DD command?
How Linux implements the transmission of UDP broadcast messages
How to turn off recovery mode in Ubuntu 12.04 system
Linux ls command operation example summary
CentOS uses Java method via Chrome
How to configure and install Node.js in Ubuntu development environment
Linux system 11 terminal commands that cannot be known
Linux installation of the appropriate kernel header file method
The method of configuring OpenWRT routing is detailed
Linux system to modify environment variables skills
Win10 will transfer the system's own application to the non-system disk.
What should I do if the win10 preview version of steam crashes?
How to update win10 graphics driver?
Win8.1 can be dialed up to the Internet
When will the win10 consumer preview release?
What should I do if Win7 detects a conflict with the emulator?