Hi guys,
Yes, I have checked /etc/nsswitch.conf file, it is fine.
After hitting my head for many hours, I found a post and that solved the problem. It seems to me very stupid thing. The problem was the file /etc/shells . In fedora 13, there are following lines in /etc/shells file:
Code:
/bin/sh
/bin/bash
/sbin/nologin
To work ssh with nis, there must tcsh and/or csh line also.
Code:
/bin/sh
/bin/bash
/sbin/nologin
/bin/tcsh
/bin/csh
Only adding these lines does not make sense if you do not have installed tcsh/csh. So, add these line and install tcsh/csh. In older Fedora (I have Fedora 8), /etc/shells has all these line, so ssh with nis was working fine.
I am not sure how ssh with nis depents on tcsh/csh, funny is't it?
Hope this will help others too.
Thanks.

---------- Post added at 09:57 PM CDT ---------- Previous post was at 09:34 PM CDT ----------
I realized that the requirement of tcsh/csh in /etc/shells is because user's default shell in NIS server is tcsh. So, ssh has to match not only user name and password but also the default login shell.
---------- Post added 2010-07-19 at 06:52 AM CDT ---------- Previous post was 2010-07-18 at 09:57 PM CDT ----------
Hi,
Does any body has some security tips for NIS? I have already created /var/yp/securenets.
I also saw on google about "passwd.adjunct" which gives encrypted passwd with ypcat passwd. Does anybody know how to setup this. I could not find by googling.
Thanks.
---------- Post added at 07:01 AM CDT ---------- Previous post was at 06:52 AM CDT ----------
Well, I found something but looks complecated:
http://windowsecurity.com/whitepaper...rmerly_YP.html