Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!xanth!paterra
From: paterra@cs.odu.edu (Frank C. Paterra)
Newsgroups: comp.unix.xenix
Subject: setting the path for an rsh account
Keywords: sco xenix path rsh
Message-ID: <10058@xanth.cs.odu.edu>
Date: 30 Sep 89 04:17:22 GMT
Organization: Old Dominion University, Norfolk, Va.
Lines: 26


Hi there netlanders!

I am trying to create an account that can be used for demonstrations,
but I'm having a problem.  

The system is SCO XENIX 386, and I have made the login shell to be
rsh.  The default .profile sets the path to include /bin and /usr/bin.
Unfortunetly csh is in /bin and all the user has to do to bypass the
shell restrictions is type

$ csh

I have created a directory called /bin/rsh.commands and changed the
path line in the .profile to

set PATH=/bin/rsh.commands

but when I login to this account the environment PATH variable says
PATH /bin:/usr/bin

The final line of the .profile says export PATH.  So what gives?  What
am I doing wrong?

Frank Paterra
paterra@cs.odu.edu