LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] CentOS 4 NIS client weirdness

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell