Ubuntu root Password

Source: Internet
Author: User
After a long period of time (the network speed was slow), Ubuntu was finally deployed. It is a good linux with a graphic interface. The installation is very simple and convenient, but it is found after installation that the step knows the root password, depressed, found the solution, command sudopasswdroot. I am so lazy to write it. I copied the information below. You can read it by yourself. New users (baseondebian) who are new to ubuntu are usually confused about the reason because the root password is not prompted during installation. According to ubuntu for a long time (network speed is slow), Ubuntu was finally put down. It is a good linux with a graphic interface. The installation is very simple and convenient, but it is found after installation that the step knows the root password, depressed, found the solution, command sudo passwd root. I am so lazy to write it. I copied the information below. You can read it by yourself.

Most people who are new to ubuntu (base on debian) are confused about the reason because the root password is not prompted during installation. According to the ubuntu Chinese document, this article is summarized.

How do I set/change/enable the password of the root user?

Sudo passwd root

To enable the root account (that is, set a password:

Sudo passwd root

After you use it, block the root account from using it:

Sudo passwd-l root

This will lock the root account.

In terminal mode, how does one switch to the root identity?

Sudo-s-H
Password: <Enter your password here> The benefits of disabling root by default include.

At first, the Ubuntu team wanted the installation to be as simple as possible. Without root, the two user interaction steps during the installation can be omitted. (Colin Watson)
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.