From: pobrien () draco ! harvard ! edu (Patrick O'Brien)
To: tru64-unix-managers
Subject: Where does rsh pick up its environment?
Date: Fri, 17 Nov 1995 21:02:37 +0000 [thread overview]
Message-ID: <96075325006684.tru64-unix-managers.marc@archive.invalid> (raw)
Greetings
Given a /.profile on a remote node of
PATH=/sbin:/usr/sbin:/bin:/usr/bin
export PATH
and given that the remote node has a /.rhosts that includes
the local node, the command
rsh remote_node env
run from the local node returns
HOME=/
PATH=/bin:/usr/bin:
SHELL=/bin/sh
USER=root
rsh -l root remote_node env gives the same results.
Can anyone tell me why rsh doesn't pick up the path specified in /.profile,
or where it does pick up the path of /bin:/usr/bin from? Both
nodes are DU 3.2C.
Regards,
Patrick O'Brien
reply other threads:[~1995-11-17 21:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox