What is the password for root after Ubuntu is installed?

Source: Internet
Author: User
Keywords Password nbsp;
Tags aliyun created html http install installation installed password

&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; What is the password for root after I install it? How do I use the root account? When you install Ubuntu for the first time, the root account is not available. The first user created during installation has administrative power over the system, and can run the program like root through sudo. Use only its normal user password.

For example: sudo apt update if you want to use the root account as a traditional UNIX style. You can enter sudo passwd root. That will allow you to become root by su or login on the console. If you need a shell with root privileges, run sudo-s.

"Sudo" for all users will require a user password. If you create a new account, you may want to use the sudo command to add that account to the Admin group. If you want to use the sudo command, you do not need to enter a user password to add the account to the sudo group.

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.