The author's machine is equipped with Redhat Linux 7.2 operating system
, and the KDE and GNOME desktops are installed, because only the super user root is set during installation, but the superuser's permissions are too large. It is only suitable for system maintenance and software installation. Normal use should be logged in as a normal user. So you need to create a new normal user. This is also simple, open “ menu & rarr; system & rarr; account manager & rdquo;, add a user does not have to! Can trouble things come: log out and then use root login, enter the password, ah! password error, enter No more. I know that the user password under Redhat7.2 is stored in /etc/shadow and should be used to find a breakthrough. 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 rescue Enter , enter the rescue mode, the next is to 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 #. 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 can be written: chmod + w shadow and then modify with vi: find with root The line of user information: root:....:, the encrypted password between the first two colons, delete it (the colon can not be deleted), save and exit. This way the root password is empty. Users who do not use vi can take the following methods: find a DOS disk into the floppy drive, copy the Shadow to the DOS disk: mcopy shadow a: /Then modify it with the notepad in the attached file under Windows
, pay attention to open the file type must select all files (*.*), save and exit. Finally, copy back: mcopy a:/shadow mnt/sysimage/etc 3. Change the Shadow property back to read-only: chmod -w shadow, and finally enter Exit to exit and remove the CD. 4. For security reasons, you should add a password to root in the terminal window after rebooting.
1, what is light-emitting diode Light-emitting diodes are everywhere in everyday appliances, it can
For systems on the Internet, it is important to be clear about the situation: the network is not se
view mysql default encoding format show variables like “character%”; If the reality-bash
Do you know what a Linux system is? Some users dont know much about Linux. Linux is a free and free
Redis several misunderstandings
Sleep function under Linux, fflush function and buffer problem
Linux System Application Installation Guide
How to make Squid display local time
Why Linux doesn't need defragmentation
Skills Delivery: Handling Linux Kernel Security Details
linux compile Analysis of Common Errors
WindowsXP shutdown failure full contact, Window XP operating system tutorial
Linux multi-cpu load balancing - thread migration
How to replace the key in Win10 system
WZor exposes Win10 Pro upgrade education key. Unable to activate
Win8.1 install Office prompt Osetup.DLL error how to deal with?
How to set the full screen display of the windows application in the tablet?
Microsoft extended the support period for Skylake Win7/8.1 system: 2023
How to implement voice shutdown in Win10