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 :~ $ Sudopasswdroot [sudo] passwordforXX: enter the password for confirmation: enter the password to prompt that the password is successfully updated. at this time, the root user has... 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.
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