Questions about root accounts

Source: Internet
Author: User
For issues related to the root account-general Linux technology-Linux technology and application information, see the following for details. Currently, more and more Linux distributions do not enable the root account by default, but use sudo instead. Although sudo is troublesome, it is more secure. If you have to enable root, generally, when executing sudo passwd root in terminal and adding a password to the root account, the root account is enabled. If you want to lock the account, it is sudo passwd-l root, -l indicates locked, which locks the root user.

By default, the sudo Linux version is used. You cannot directly use root to log on to X. If you are using gnome, in the system> System Management> logon window, select "Allow Local Administrator Logon ". Alternatively, run the gksu/usr/sbin/gdmsetup command to select "Allow Local Administrator Logon ".

If it is kde, You can edit the KDM configuration file/etc/kde3/kdm/kdmrc and change the value of AllowRootLogin = to true.

Direct logon is much easier than modifying the Registry in Windows. The logon managers of gnome and kde both have corresponding options.

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.