ay0my wrote:
I tried your suggestion the results looks OK. [root@sspxz100 ~]# id s39427 uid=111(s39427) gid=14(sysadmin) groups=14(sysadmin) [root@sspxz100 ~]# ls -l ~s39427 total 0
Good, then NSS is set up right, and you just need to look at PAM.
I saw the following error in /var/log/secure when the "permission denied" error is encountered. Jun 15 17:19:38 sspxz100 sshd[13765]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=ci-nb39427-6.sf.sp.edu.sg user=s39427
So... what does /etc/pam.d/system-auth look like? Specifically, what do the lines that begin with "auth" look like?