Many thanks for your reply, Forrest, Literally one minute before the arrival of your message, I have just managed to log on using a nis account. All my user accounts all have passwords longer than 8 characters. I have just shortened one of them to 8, I can then log on okay using that account! Actually I have also modified login to replace all pam_stack.so by pam_unix.so. But after successfully logged on, I reinstated the original login, and I can still log on. So I suspect the cause is on the password length. Regards, Peter -----Original Message----- From: Taylor, ForrestX [mailto:forrestx.taylor@intel.com] Sent: Monday, October 29, 2001 6:22 PM To: 'pam-list@redhat.com' Cc: Peter Chiu (E-mail) Subject: RE: NIS client not authenticating under RH 7.2 I couldn't either until I found this bug report in bugzilla: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=55011 To quote: After suggestions by a friend that 'pam_unix.so' was now deprecated I changed in the file /etc/pam.d/system-auth: auth sufficient /lib/security/pam_unix.so likeauth nullok to auth sufficient /lib/security/pam_pwdb.so likeauth nullok and all is peachy. Endquote I just tested this, and it worked for me. Forrest > Has anyone successfully set up a RH 7.2 box > as a NIS client? > > I have enabled NIS as a client, and I can do ypwhich > and ypcat and ypmatch. All server and accounts details > are returned okay. > > The problem is that all log in attempts failed with > authentication errors - using telnet, ssh, and at the console. > > These accounts work okay on systems running RH 7.1. > > I compared the system-auth under /etc/pam.d between > RH 7.2 and 7.1, but they are a bit different now. I tried > using the version from 7.1, but no luck. Enabling the > debug mode in ypbind does not tell much neither. > > Is this a bug on NIS under RH 7.2? > > By the way, the NIS server is an Alpha running Tru64 Unix V5.1. > So only NIS and not NIS+ is used. Nsswitch.conf has also been > updated using nis and not nisplus. > > Regards, > Peter Chiu > Tel: +44-(0)1235-446699 > Fax: +44-(0)1235-445848 > Email: P.Chiu@rl.ac.uk > > > > _______________________________________________ > > Pam-list@redhat.com > https://listman.redhat.com/mailman/listinfo/pam-list >