Set the root password after Ubuntu is installed.

Source: Internet
Author: User
After Ubuntu14.04 is installed, the root user cannot be entered because the root password is not set by default. Related reading: Ubuntu14.04 download, install, and configure the summary page.

After Ubuntu 14.04 is installed, the root user cannot be entered because the root password is not set by default.

Reading:

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

Install Ubuntu 14.04 permanent update address on a hard disk in Windows 7: Http://www.linuxidc.com/Linux/2014-04/100369.htm

1. Open the terminal with the current Login User, enter the sudo passwd command on the terminal, enter the password of the current user, and press Enter.

2. You will be prompted to enter a new password. after entering the new password, press Enter.

3. The system prompts you to enter the new password again to confirm the password, and then press enter to set the password successfully.

Linuxidc @ ubuntu :~ $ Sudo passwd
[Sudo] password for linuxidc:
Enter a new UNIX Password:
Re-enter the new UNIX Password:
Passwd: the password is successfully updated.
Linuxidc @ ubuntu :~ $

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

Enter su root in the terminal, and then enter the root password. After the verification is successful, you can switch to the root user. After the root user completes the operation, use the exit command to exit the root user and return it to the current login user.

For more information about Ubuntu, see Ubuntu special 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

Related Article

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.