user cannot su from root or login either console or remotely

Posted on

RHEL 6.5
Issue: user cannot su - user or su user. Just hangs
NAMING Service: NIS
* when I try to su - user the command hangs. the same NIS user works on other RHEL 7,8,9 platforms.

I want to know is how they could be blocking this. there is no user.deny anymore. authconfig --test shows everyone availbale to login!
pam_cracklib is enabled (try_first_pass retry=3 type=)
pam_passwdqc is disabled ()
pam_access is disabled ()
pam_mkhomedir or pam_oddjob_mkhomedir is disabled ()
Always authorize local users is enabled ()
Authenticate system accounts against network services is disabled

  • I created a new_user with same GID/UID as user and home path and it works and has not been blocked.

  • I disable NIS (service ypbind stop), create user with same UID/GID/Path as NIS user and it worked for about a minute until something blocked that as well. Autofs and nfs works great.

  • I added user to wheel group and modified pam.d/su and uncommented out the explicitly allow members to login, no work.

  • I can strace su - new_user but when I try to strace su - user it does not return anything.

Responses