Solution to RHEL6's failure to log on as a Root user

Source: Internet
Author: User
After RHEL6 is installed, you cannot log on to the system as Root on the login interface by default. first, log on to the system as the user created during installation, open the terminal, and convert it to the root user. the corresponding command is suroot, enter the root user password and press Enter. (we recommend that you back up the files to be modified in advance... after installing RHEL 6, you cannot log on to the system as Root on the logon page by default. first, log on to the system as the user created during installation,
Open the terminal and convert it to the root user. the corresponding command is su root. enter the root user password and press enter,
(We recommend that you back up the files to be modified for recovery)
Edit the/etc/pam. d/TPD file
The corresponding command is vi/etc/pam. d/TPD.
Go to www.2cto.com auth required pam_succeed_if.so user! = Root quiet
Delete this sentence
Save (: wq)
Edit/etc/pam. d/TPD-password
Go to auth required pam_succeed_if.so user! = Root quiet
Delete this sentence
Save (: wq)
Reboot is enough.


From javatooth's column
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.