Subject: lib/1683: rlogind/rshd dumps core
To: None <gnats-bugs@gnats.netbsd.org>
From: Andrew Gillham <gillhaa@ghost.whirlpool.com>
List: netbsd-bugs
Date: 10/24/1995 17:24:17
>Number:         1683
>Category:       lib
>Synopsis:       rlogind/rshd dumps core
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 24 17:35:01 1995
>Last-Modified:
>Originator:     Andrew Gillham
>Organization:
===================================================
Andrew Gillham                Whirlpool Corporation
LAN Support                 (gillhaa@whirlpool.com)
>Release:        Oct 22, 95 sup
>Environment:
System: NetBSD ghost 1.1_ALPHA NetBSD 1.1_ALPHA (GHOST) #2: Sun Oct 22 11:48:58 EDT 1995 root@ghost:/usr/src/sys/arch/i386/compile/GHOST i386


>Description:
	rlogind and rshd will dump core if the connecting host is
	not listed in /etc/hosts, does not have a DNS reverse mapping,
	_and_ a non-root user.  Client (issuing 'rlogin ghost') is a Sun
	running SunOS 4.1.4.  A SunOS 4.1.4 machine is the YP server.
	I have not had the opportunity to test this with YP disabled.

>How-To-Repeat:
	Type 'rlogin <netbsd machine>' from a Sun that is not in the hosts
	file on the netbsd machine, and only has a DNS 'A' record, no reverse		mapping.  The NetBSD machine will then have a '/rlogind.core' file.
	
>Fix:
	I do not have a fix, but adding the Sun to /etc/hosts, adding a reverse
	DNS mapping for the Sun, or issuing the commands as root will resolv
	the problem.

>Audit-Trail:
>Unformatted: