setting the path for an rsh account

Frank C. Paterra paterra at cs.odu.edu
Sat Sep 30 14:17:22 AEST 1989


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 at cs.odu.edu



More information about the Comp.unix.xenix mailing list