Enter the root user under a common user

Source: Internet
Author: User

Log on to Linux as a root user and log on to Linux as a normal user. To enable root for the first time, perform the following operations: XX :~ $ Sudo passwd root [sudo] password for XX: enter the password for confirmation: enter the password to prompt that the password is successfully updated. At this time, the root user is enabled. The root operation is as follows: XX :~ $ Su root Password: enter the password and you can perform the root operation. You can also use the su common user name to switch to the common user for operations. You do not need to enter the password. I use ubuntu Linux 12.10. All of the above are verified by myself. In this method, the system can only be logged on from a common user, and then the root user can be logged on from the terminal using the su root operation.

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.