Basic Ubuntu tutorial-learn about the Root account

Source: Internet
Author: User
For new Ubuntu users who want to know about the Root account, here is a brief article that will give you a clear understanding of the root account and how to use it and why to use the root account. As you can see, each version of Ubuntu has a root account. The root account is also called the administrator account. You can regard the root account as an account with the same power as God. It can delete any file, any directory, and make any modifications to the system. The root account has unlimited permissions. Because the root account is too powerful, the system automatically

For new Ubuntu users who want to know about the Root account, here is a brief article that will give you a clear understanding of the root account and how to use it and why to use the root account. As you can see, each version of Ubuntu has a root account.

The root account is also called the administrator account. You can regard the root account as an account with the same power as God. It can delete any file, any directory, and make any modifications to the system. The root account has unlimited permissions.

Because the root account is too powerful, the system will automatically generate a password string, which cannot be matched by encryption in the system. As a result, the user cannot use the root account to log on to the system. Ubuntu allows you to use the sudo command to directly log on with the root account.

The sudo command allows authorized users to temporarily escalate their permissions by using their own passwords without knowing the root account password or using the root account.

If you still want to use the root account to log on to the system for some other reasons, it is easy to set a password for it. In this way, you can enable the root account:

Sudo passwd

The above command can activate the root account, but to log on to the system with the root account, you must also enable the manual login function disabled by Ubuntu. The manual logon function allows the user to enter the account and the corresponding logon password, instead of simply selecting an account to log on from the logon interface.

To enable the manual logon option in Ubuntu 13.10, run the following command:

Sudo gedit/etc/lightdm. conf. d/50-unity-greeter.conf

Then add the following line of text

Greeter-show-manual-login = true

Save and restart your computer.

For earlier versions of Ubuntu, you can find this configuration file in another location, namely, the/etc/lightdm directory. The file name may be lightdm. conf.

After the modification, you can enter the root account and password on the logon page and then log on to the system.

If you want to lock/disable the root account, use the following command

Sudo passwd-l root

Pleasant use!

Recommended reading:

Methods for switching root users in Ubuntu environment http://www.linuxidc.com/Linux/2013-01/78085.htm

Ubuntu 13.04 Installation notes and root password settings http://www.linuxidc.com/Linux/2013-04/83550.htm

Ubuntu 13.04 set root User Login graphical interface http://www.linuxidc.com/Linux/2013-04/82672.htm

Ubuntu Linux http://www.linuxidc.com/Linux/2013-01/78558.htm with an unknown root Password

Methods for switching root users in Ubuntu environment http://www.linuxidc.com/Linux/2013-01/78085.htm

This article was originally translated by LCTT and launched with the Linux honor in China

Translator: Linchenguang Proofreader: wxy

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.