Windows, linux system boot password hack

Source: Internet
Author: User

In life sometimes careless forget the computer password can not enter the system how to do? Re-install the system is too cumbersome, the following describes the common password recovery method.

First, the Windows system boot password recovery

If the computer is installed Windows system, and forget the password, want to go into the system is actually very simple.

1 , use the Windows Password Manager that comes with the startup disk to clear the password or reset the password

After starting the computer with the boot disk, select clear the System power-on password or reset the system power-on password in the boot selection screen.

2. Delete or replace a password file

Windows The system boot password file is stored in the C/windows/system32/config/sam file, as long as the file is deleted, the system will no longer be user password authentication after reboot. (If the XP system deleted the SAM file will cause the system to crash, do not use!) )



It's a lot easier than the first of the two approaches, and the second approach is to use tools like the Startup disk. Then if you want to get into someone else's system, but do not know the power-on password, you may try the second method, the Sam file is clipped to the USB stick, and then turned on, run out remember to put the SAM file back. No one has ever heard of a direct bypass system user authentication approach to enter the system, Microsoft is still very good. If there is a way to know how to bypass the user authentication method want to be able to share Oh!

Second, Linux system boot password recovery

If the computer is loaded with a Linux system, the root password cannot be remembered again? Just need to reset it, OK.

1. when the boot loader is displayed, press any key to interrupt the loader.

2. use the cursor or the up and down keys to move the selected item to the default entry (usually the first one)

3. Press E to edit the current entry

4. Locate the line at the beginning of the linux16, and move the cursor to the end of the line (diverted to the kernel command line)

5. add rd.break at the end of the line (the system will interrupt the transfer of control to the actual system when it starts)

6. Press Ctrl+x to save and restart

7. Read and write in the form of/sysroot

Mount–oremount,rw/sysroot

8. Toggles the chroot storage location, where/sysroot is considered the root of the file system tree

Chroot/sysroot

9. set a new root password

PASSWD Root

Ten , setting a file that does not get tagged restarts will get flagged

Touch/.autorelabel

11. Press Exit to exit Chroot storage location, enter exit again to exit Initramfs. At this point the system restarts, enter the root password you just set to enter the system.



Windows, linux system boot password hack

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.