Ubuntu Hack boot password

Source: Internet
Author: User

Like using Ubuntu and using the Windows family, you forget the power-on password. Do we have to re-install the system when we forget the power-on password? Of course not! Since under windows we can crack the power-on password, then in Ubuntu is as feasible, of course, our starting point is based on their own forgotten to use the password, do not do bad yo.

The premise confessed
    • This method is suitable for Ubuntu and Ubuntu-based Linux distribution systems, and other distributions are also available for reference. A lot of related tutorials on the internet, this time brought me a practical operation!
    • This operation is based on the Ubuntu13.10 version, kernel version 3.11.0-12, so you can refer to the following kernel words! There may be discrepancies ...
    • This method assumes that you are the Grub boot system and that grub is not encrypted or you know the grub password ...
Cause of Event

A small partner before installed is the Ubuntu Win7 dual system, but Ubuntu up to 1.5 did not go in, the result forgot the password, do not want to reinstall the system so ...

The first step

Boot into the Grub interface and select "Advanced options for Ubuntu" →

"Ubuntu,linux 3.11.0-12-generic (Recovery mode)"

Then the system will automatically load the relevant files into memory, get the text way of Recory Menu (filesystem state:read-only)

Step Two

Selecting the root option in the Restore menu will give us a root-based shell environment, select the root line and press the "tab" key on the keyboard to position the cursor above the menu and directly enter
So next we need to use this environment, the other commands about this menu to search the ha!
Next we enter the following command to complete the Reset user password (this time using the user name Guiji)

12345678910 # Because the current mode file system is read-only and we need to write a new password to the file system file, this step is to re-mount/file system and then pass a rw-readable writable parameter to reset the password next mount–o remount–rw/# This command is to reset the password of the user named Guiji passwd Guiji# Enter the new password, Linux-based security This password is not explicit, do not suspect that you do not have input, you just need to correctly enter the password you want, and then return to the line Xiaohuoban# Confirm the new password, also do not show Xiaohuoban#完了提示你密码更新成功, then you can restart the system, enter the command reboot, waiting for the system to restart automatically reboot

Step Three

Sign in with a new password

Finally confessed

In fact, like window, the way to crack the power-on password a lot of kinds, do not think that they set a more complex power-on password is all right, this kind of way I also do not use, compared to other methods I think this method belongs to the simplest method, of course, the range is also relatively narrow, On the side of the play Ubuntu This method is enough, about other methods, encountered in the say! This is it for the time being!

http://ipchy.net/crack-user-password-on-ubuntu/#comments

Ubuntu Hack boot password

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.