tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Where does rsh pick up its environment?
@ 1995-11-17 21:02 pobrien
  0 siblings, 0 replies; only message in thread
From: pobrien @ 1995-11-17 21:02 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-11-17 21:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-17 21:02 Where does rsh pick up its environment? pobrien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox