Operating System - HP-UX
1837694 Members
3121 Online
110118 Solutions
New Discussion

Re: weird telnet/ssh problem after migration to NIS

 
Asya
Regular Advisor

weird telnet/ssh problem after migration to NIS

We have recently migrated from NIS to NIS+ (were bought by another company...its their policy).

For two users telnet and rlogin doesn't work to the host (get incorrect password error message). SSH works fine.

telnet and rlogin works for the rest of the company. Only 2 users can't rlogin and telnet to the box.

Log message produces the following:

Nov 10 10:13:27 glorious : pam_authenticate: error Authentication failed
Nov 10 10:13:27 glorious : LOGIN: pam_authenticate error

I'm totally lost...what could be causing this problem?

Thanks,
Asya

2 REPLIES 2
Mark Nieuwboer
Esteemed Contributor

Re: weird telnet/ssh problem after migration to NIS

Asya,

It's your pam module.
Probebly not the right module of pam to work with nis.
I'm no export on pam and it's difficult to debug but my suggestion is to look in /etc/pam.d/common.auth in this file you have to put the authentication scheme for nis.
hope it wil help.

grtz. Mark
Asya
Regular Advisor

Re: weird telnet/ssh problem after migration to NIS

Thank you Mark.

I only have /etc/pam.conf and /etc/pam_user.conf files.

/etc/pam.conf doesn't any information that would make me think that it was causing the problem. /etc/pam_user.conf has everything commented out.

I will google for pam stuff and hopefully will figure it out....

Thanks again!