From nobody@FreeBSD.org  Mon Feb 28 13:43:03 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id CBFE337B8FD
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 28 Feb 2000 13:43:03 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id NAA64353;
	Mon, 28 Feb 2000 13:43:03 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200002282143.NAA64353@freefall.freebsd.org>
Date: Mon, 28 Feb 2000 13:43:03 -0800 (PST)
From: henrich@sigbus.com
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: rshd does improper home directory check
X-Send-Pr-Version: www-1.0

>Number:         17056
>Category:       bin
>Synopsis:       rshd does improper home directory check
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 28 13:50:01 PST 2000
>Closed-Date:    Fri Jan 18 08:14:39 PST 2002
>Last-Modified:  Fri Jan 18 08:15:13 PST 2002
>Originator:     Charles henrich
>Release:        3.1 - 3.4
>Organization:
>Environment:
FreeBSD chillywilly.mvfx.com RELENG_3-20000201-SNAP FreeBSD RELENG_3-20000201-SNAP #1: Mon Feb 21 13:24:18 PST 2000     Rcrh@chillywilly.mvfx.com:/usr/src/sys/compile/CHILLYWILLY  i386

>Description:
when issuing a remote rsh command "rsh chilly ls" where the remote machine
has user home directories mounted over NFS, and those home directories
are not mounted w/ root permission, rsh fails to read user's startup
environment (.cshrc/.login) or set the home directory variables correctly.

rlogin works as it should.
>How-To-Repeat:
rsh a command into a machine with NFS mounted home directories.
>Fix:
rsh should become the user before attempting any access on the user
home directories, which would fixt his problem.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mike 
State-Changed-When: Sat Jul 21 16:59:03 PDT 2001 
State-Changed-Why:  

Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17056 
State-Changed-From-To: feedback->closed 
State-Changed-By: sheldonh 
State-Changed-When: Fri Jan 18 08:14:39 PST 2002 
State-Changed-Why:  
Automatic feedback timeout.  If additional feedback that warrants 
the re-opening of this PR is available but not included in the 
audit trail, please include the feedback in a reply to this message 
(preserving the Subject line) and ask that the PR be re-opened. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17056 
>Unformatted:
