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. (backup is recommended for files to be modified for recovery.) edit/etc/pam. the command for the d/TPD file is vi/etc/pam. d. Locate authrequiredp RHEL 6 on the EM 6 console. After installation is complete, the user cannot log on to the system as the Root user 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 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.