From owner-freebsd-bugs Mon Feb 28 13:50: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C800E37B965 for ; Mon, 28 Feb 2000 13:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA66188; Mon, 28 Feb 2000 13:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CBFE337B8FD for ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/17056: rshd does improper home directory check Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17056 >Category: bin >Synopsis: rshd does improper home directory check >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 28 13:50:01 PST 2000 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message