Bug 17056

Summary: rshd does improper home directory check
Product: Base System Reporter: henrich <henrich>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description henrich 2000-02-28 21:50:01 UTC
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.

Fix: 

rsh should become the user before attempting any access on the user
home directories, which would fixt his problem.
How-To-Repeat: rsh a command into a machine with NFS mounted home directories.
Comment 1 Mike Barcroft freebsd_committer freebsd_triage 2001-07-22 00:59:03 UTC
State Changed
From-To: open->feedback


Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE?
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2002-01-18 16:14:39 UTC
State Changed
From-To: feedback->closed

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.