1, insert the system installation CD, restart the machine, press the Del button quickly when booting, enter the CMOS, change the boot sequence to the CD first, then start the Linux installation program, press F5, press the prompt to enter Linux Return to the rescue mode, enter the rescue mode, then select the language and keyboard, you can directly press Enter, the program prompts that the Linux system on the hard disk has been installed to /mnt/sysimage, and then the super user prompt appears.
2, enter the hard disk etc directory: cd /mnt/sysimage/etc, first do backup anti-failure:
cp shadow shadow.old modify the shadow file properties to be writable: chmod +w shadow Then modify it with vi: find the line containing the root user information: root:....:, the encrypted password between the first two colons, delete it (the colon can not be deleted), save and exit. Then the root password is empty.
Users who do not use vi can take the following method: find a DOS disk into the floppy drive, copy the Shadow to the DOS disk: mcopy shadow a: /Then modify the file with the notepad in the attached file under Windows , pay attention to open the file type must select all files (*.*), save and exit.
The last copy back:
mcopy a:/shadow mnt/sysimage/etc
3, change the Shadow property back to read-only: chmod -w shadow, finally Enter Exit to exit and remove the disc.
4. For security reasons, you should add a password to root in the terminal window after rebooting.
An email address can be divided into two parts. The first part is the user name a
-E Each packet intercepted shows the link layer header: source MAC address > d
In order to improve the performance of the server, many network administrators ha
Port mapping is used to access specific port services from the Intern
Use memory configuration options to optimize server performance
Between questions and answers, DNS doubts are dying out
How will cloud computing affect the Windows server environment?
IIS can not browse the asp webpage after installation is not complete solution
The key to server virtual integration: management automation
Interpreting Windows 2008: Terminal Server Gateway
Nginx reports "readv() failed (104: Connection reset by peer)"
Six strokes teach you to distinguish between high-end and low-end KVM products
What should I do if the Win7 64-bit system prompts for this installation?
DOS commands are used in large Microsoft systems to master
3 ways to open Win8 screen keyboard
Windows 8.1 is a better "start" from here
What is the format of bmp? How to open the bmp file format?
How to change user avatar in Win8 system
Why can't the system's virtual memory be set successfully?