Problem with telnet RH 7.2 nisplus client
Jimmy Beasley
jjbeasley at fedex.com
Wed Sep 25 01:17:52 EST 2002
I tried the below configuration the problem still occurs on some unix and
linux systems.
When the problem occurs I get to the telnet login prompt and I am never
offered a password prompt. see below
Escape character is '^]'.
Red Hat Linux release 7.2 (Enigma)
Kernel 2.4.7-10 on an i586
login: testuser
Login timed out after 60 seconds
Connection closed by foreign host.
Alan Buxey wrote:
> hi,
>
> > I have RH 7.2 nisplus client and I have problems with telnet from other
> > unix and linux clients.
> > Is there a fix for this ?
>
> you can log into the linux box locally okay? if so,
> then the NIS+ client is working okay - so you probably
> just have to change some of the other setting files
> in /etc/pam.d - so that they call system-auth and no
> other - and system-auth is correct.
>
> eg system-auth looks like:
>
> #%PAM-1.0
> # This file is auto-generated.
> # User changes will be destroyed the next time authconfig is run.
> auth required /lib/security/pam_securetty.so
> auth required /lib/security/pam_unix2.so set_secrpc
> auth required /lib/security/pam_nologin.so
> account required /lib/security/pam_unix2.so
> password required /lib/security/pam_cracklib.so
> password required /lib/security/pam_unix2.so
> session required /lib/security/pam_unix2.so
> #session optional /lib/security/pam_console.so
>
> and sshd looks like:
>
> #%PAM-1.0
> auth required /lib/security/pam_securetty.so
> auth required /lib/security/pam_unix2.so set_secrpc
> auth required /lib/security/pam_nologin.so
> account required /lib/security/pam_unix2.so
> password required /lib/security/pam_cracklib.so
> password required /lib/security/pam_unix2.so
> session required /lib/security/pam_unix2.so
> #session optional /lib/security/pam_console.so
>
> and login looks like:
>
> auth required /lib/security/pam_securetty.so
> auth required /lib/security/pam_stack.so service=system-auth
> auth required /lib/security/pam_nologin.so
> account required /lib/security/pam_stack.so service=system-auth
> password required /lib/security/pam_stack.so service=system-auth
> session required /lib/security/pam_stack.so service=system-auth
> session optional /lib/security/pam_console.so
>
> make VERY certain you dont call the usual unix pam client. only use unix2
>
> alan
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the linux-nisplus
mailing list