1. Insert the Setup CD in the system, restart the machine, start up rapidly pressing the del key, enter the CMOS, the boot order to boot the CD first, start the Linux installation program, press F5, follow the prompts to enter carriage returns into Linuxrescue rescue mode, the next step is to select the language and keyboard, you can directly enter the program prompts you have Linux on your hard disk to the system installed, and then under the/mnt/sysimage a superuser prompt #.
2. access to the hard disk etc directory: cd/mnt/sysimage/etc, you do your backups and unexpected: cpshadowshadow.old modify the properties of the shadow file is writable: chmod + wshadow then vi changes: find with root user information line: root: ... : The first two colons between is the encrypted password, remove it (colon cannot delete), save and exit. This root password is an empty the 1Y0-308. Do not use vi users can take the following approach: looking for a DOS disk into the floppy drive, the Shadow copy to a DOS disk: mcopyshadowa:/and then in the Windows accessories in SCSACCIA Notepad to modify the note to open the file type must be selected all files (*. *), save and exit. Then copy back: mcopya:/shadowmnt/sysimage/etc 3, the Shadow attributes back to read-only: chmod-wshadow, finally enter Exit exit, remove the CD. 4. for security reasons, after reboot should be in a Terminal window and then to root and the password
No comments:
Post a Comment