Switch to the root account method in Ubuntu

Source: Internet
Author: User

How does ubuntu switch to root user status? The previous small series shared Ubuntu How to open the root user, the following small part to share how to cut to the root user

Methods/Steps Open the Terminal tool in the following way, or use the shortcut key of the Terminal tool Ctrl + ALT +t to open the terminal

When the terminal tool opens, as shown, our operation is performed in this window.

To switch the root user one way:

Execute command sudo su

Executing the above command will require us to enter our current password.

After you enter your password and switch to the root user, we can see that the current user is already root.

Ways to exit the root user

After switching to the root user, we simply exit the root user account by executing the exit command.

The second way to switch to the root user account

Executing the sudo-i command can also switch the current user to the root user mode with a normal user

After the execution of the command, generally also require the input of our password, small part here because it is just switch to the root user shortly, so the system does not require the password, generally in 10 minutes we switch the root user back and forth when the system does not prompt for the password, then will ask us to enter the password again.

Switch to the root account method in Ubuntu

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.