How to handle Ubuntu forgot password

Source: Internet
Author: User

The Ubuntu system starts by selecting Recovery mode, which is the recovery mode.

650) this.width=650; "src=" Https://c.ikafan.com/upload/2d/fa/2dfae06437b28e3aac125e2347a59f74_thumb.png "alt=" Ubuntu forgot user name and login password solution "title=" in Ubuntu forgot username and login password solution "style=" border:0px; "/>

Then choose drop to root shell prompt, which is to get root privileges.

650) this.width=650; "src=" Https://c.ikafan.com/upload/4b/fc/4bfcb96c31d2dc1e7b82bd09894432cc_thumb.png "alt=" Ubuntu forgot user name and login password solution "title=" in Ubuntu forgot username and login password solution "style=" border:0px; "/>

Enter a command to view the user name Cat/etc/shadow,before the $ number is the user name

Input command: passwd "user name" Enter the new password can be entered



How to handle Ubuntu forgot 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.