Hi,
I have trouble in authenticating NIS login. Here is the description of the problem.
$ ypcat password
shows the list of NIS accounts.
$ su - <nis_user>
This works fine and user becomes <nis_user>
But when I try to login using ssh <nis-user>@localhost.
It connects to the localhost and then display :
Connection to localhost closed
When I try to login using nis user on console, it shows the same behaviour i.e. it doesn't allow nis user to login.
I think during authentication time it fails. Some setting need to be done in /etc/pam.d/sshd and /etc/pam.d/login file.
I was browsing the issues. What kind of authentication needs to be setup for NIS?
I have another machine in same network which has FC2 and it works fine there.
Regards,
Basant.