[ILUG] CentOS 4 NIS client weirdness
Niall O Broin
niall at linux.ie
Thu Aug 24 18:59:02 IST 2006
I have a CentOS 4 (=~ RHES4) box which is a NIS client of a SuSE 9.3
box, which is behaving very oddly. It is connected to the master -
ypwhich shows the master's name, ypwhich -m shows the maps, and ypcat
of a map shows what it should.
However, strange things happen on trying to login as a NIS user. I
can't login on the console - it's as if the password is wrong. I can
ssh in, but when I do that, /etc/bashrc isn't sourced. It certainly
feels somehow PAM related, but I'm not sure how. I have run
authconfig --enablenis --enablemd5 and /etc/pam.d/system-auth
reflects that - I have
password sufficient /lib/security/$ISA/pam_unix.so nullok
use_authtok md5 shadow nis
These lines from the log
Aug 24 19:21:48 pumori login(pam_unix)[2733]: authentication failure;
logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost= user=niall
Aug 24 19:21:51 pumori login[2733]: FAILED LOGIN 1 FROM (null) FOR
niall, Authentication failure
Aug 24 19:44:04 pumori sshd(pam_unix)[5897]: session opened for user
niall by (uid=0)
show a failed login on the console, and then a successful (to some
extent) login by ssh.
Any bright ideas?
Niall
More information about the ILUG
mailing list