[5069] in RedHat Linux List
Rlogin w/Colgate continued
daemon@ATHENA.MIT.EDU (Daryll Strauss)
Mon Nov 18 19:47:20 1996
From: daryll@d2.com (Daryll Strauss)
To: redhat-list@redhat.com
Date: Mon, 18 Nov 1996 12:42:40 -0800 (PST)
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
I added "debug" to the rlogin and rsh lines in the pam.conf and told
syslog to log all debug messages to a file. Then I tried doing an rsh
and an rlogin into the Colgate box from a machine that fails and one
that works.
My machine (198.211.107.16) 'rsh sw-linux-1 ls' works fine:
Nov 18 12:27:54 sw-linux-1 in.rshd[24622]: connect from 198.211.107.16
Nov 18 12:27:54 sw-linux-1 rshd[24622]: Couldn't look up address for
Nov 18 12:27:55 sw-linux-1 rshd[24622]: pam_unix authentication session
started, user daryll, service rsh
Nov 18 12:27:55 sw-linux-1 rshd[24622]: pam_unix authentication session
finished, user daryll, service rsh
My machine (198.211.107.16) 'rlogin sw-linux-1' fails with a protocol error:
Nov 18 12:28:15 sw-linux-1 in.rlogind[24635]: connect from 198.211.107.16
Another machine (198.211.107.20) 'rsh sw-linux-1 ls' works fine:
Nov 18 12:28:43 sw-linux-1 in.rshd[24636]: connect from 198.211.107.20
Nov 18 12:28:43 sw-linux-1 rshd[24636]: pam_unix authentication session
started, user daryll, service rsh
Nov 18 12:28:44 sw-linux-1 rshd[24636]: pam_unix authentication session
finished, user daryll, service rsh
That machine (198.211.107.20) 'rlogin sw-linux-1' works fine:
Nov 18 12:29:01 sw-linux-1 in.rlogind[24648]: connect from 198.211.107.20
Nov 18 12:29:02 sw-linux-1 login: pam_unix authentication session
started, user daryll, service login
A couple of things look interesting when I compare these two
listings. The entry at 12:27:54 says that it couldn't look up address for
<blank>. That seems wrong. It would appear it should have an IP address
there. This case did work, so I'm not sure it matters, but the other
machine doesn't report this lookup problem. Also, The failed
rlogin never reports any PAM activity at all. So, I guess it never got
that far. The linux box is served by YP, and is perfectly capabable of
mapping names into addresses, just so you know.
I'm not sure what to try next except to add more logging to the rlogind
source and see if I can isolate the problem. Hints or suggestions?
- |Daryll
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null