Set root password after Ubuntu installation

Source: Internet
Author: User

After installing Ubuntu 14.04, the default is not to set the root password, you will not be able to enter the root user.

Related reading :

Ubuntu 14.04 Download, install, configure Summary page http://www.linuxidc.com/Linux/2014-04/100370.htm

Windows 7 Hard Drive installs Ubuntu 14.04 Permanent update address : http://www.linuxidc.com/Linux/2014-04/100369.htm

1, open the terminal with the current login user, in the terminal input command sudo passwd, enter the current user's password and then return

2, will be prompted to enter a new password, enter the completion of the return

3. Then prompt to enter a new password again to confirm, then enter, set the success

[Email protected]:~$ sudo passwd [sudo] password for LINUXIDC: Enter new UNIX password: Reenter new UNIX password: passwd: password updated successfully [email protect ed]:~$

Note: This new password is the root password, which can be different from the current user's password.

Enter SU root in the terminal and enter the root password to verify the success of the switch to the root user. After the root user has finished the operation, the Exit command can be used to exit the root user and return the current logged-on user.

For more information about Ubuntu see the Ubuntu feature page http://www.linuxidc.com/topicnews.aspx?tid=2

This article permanently updates the link address : http://www.linuxidc.com/Linux/2014-04/100489.htm

Set root password after Ubuntu installation

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.