Hundreds of large projects to respect this year's system article "6" -- Ubuntu 16.04 enables root Super Users, "6" 16.04

Source: Internet
Author: User

Hundreds of large projects to respect this year's system article "6" -- Ubuntu 16.04 enables root Super Users, "6" 16.04

The Ubuntu 16.04 system cannot be switched to the root user at the beginning of installation. When common users need the root permission, they usually need to add "sudo" before executing the command ", partners who need to frequently use root permissions may feel this will make our team sad ......

In fact, it is very easy to solve the problem of egg. You only need to configure a password for the root user to switch to the root user.

$ Sudo passwd root

As follows:

First, enter the password of the current user, and then enter the root password you want to set after "Enter new UNIX Password". Then you can switch to super user.

$ Su

 

In the pop-up prompt, enter the root password you just set to become the root user!

Of course, operations under the root user may be risky. If you are a little white employee, please use it for a while before using it.

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.