Ubuntu Modify user password and start root account

Source: Internet
Author: User

To modify a personal password:

Method 1:

Running at terminal

usrname@usrname-laptoppasswd:~ $passwd Usrname

Change Password to Usrname.
(current) UNIX password:< enter current password >
Enter new UNIX Password: < Enter new Password >
Re-enter the new UNIX password:< reenter the new password >

passwd: Password was updated successfully

(Note: The user name that needs to be modified is usrname)

Method 2:

Using menus

System-> Preferences-> personal information. Start the "About Usrname" dialog box, click the "Modify Password" button, enter the current password, click on the right "Authentication" button, verify successful, you can enter a new password.

Also note that the modified password should not be too short

Start the root account

1. After the terminal executes the sudo passwd root command, you will be prompted to set a new root account password.
2. Click the System (System)-> Preferences (Systems Management)-> login Window (login Desktop) menu and switch to the Security Options page, then select the Allow Local System Admi Nistrator Login (allow local system administrator to log on) option.

After two steps, you can use the root account to log into the Ubuntu system. If you want to disable the root account again, you can perform sudo passwd-l root

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.