Unable to login as linux user on machines when they are part of Active Directory domain

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 5

Issue

  • Not possible to log in as linux user when linux machines are part of Active Directory domain.No error message will be generated in logs, and user will be prompted to enter password again.

Resolution

Checking output of

# rpm -Vva | grep login  
S.5....T /etc/pam.d/login

it will be visible that /etc/pam.d/login was changed.When integrating Linux machines to be part of Active directory file /etc/pam.d/login should not be edited as its corruption can lead to unpredictable results when users try to authenticate agains Active directory

Root Cause

Corrupted file /etc/pam.d/login by editing it during Active Directory integration.

Diagnostic Steps

After entering username and password the prompt cursor will blink for a few minutes and after that it will falls back to login prompt.No error messages will be generated to /var/log

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments