User name password and root password modification in Ubuntu

Source: Internet
Author: User

User name password and root password are not the same password reset (modify) root password

  Ubuntu Root initial password is random, each boot has a new root password modification method as follows:

1.sudo passwd

2. Enter your username and password here  

3. two times enter the root new password set.

4. Enter su root to switch to the root administrator

5. Enter the toot new password set in step three .

PS: Modify the root password method as

Modify User name password

  Ubuntu Change Password Step:
1. Open a terminal and enter sudo su to the root user. Note that you must first become the root user!!!
2.sudo passwduse R (user is the corresponding username)
3. Enter the new password and confirm the password.
4. Change password successfully, reboot, enter new password to enter Ubuntu.

PS: Daniel, if you have any questions please tell me in the comments, if useful, your one praise will be my greatest encouragement and perseverance!

  

User name password and root password modification in Ubuntu

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.