Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am attempting to use rsh to run scripts on a HP-UX 11 server from a web interface setup on a linux apache web server. I problem I am running into is the ENV variables in the scripts residing on the HP server are being ignored. any help with this issue or links to documentation on rsh would be appreciated.
JLW

I have no experience with the restricted bourne shell, but I just played around with it on an HP-UX 11.0 server. When I attempt to source an environment file via a full-path reference, it refuses. Both of the following equivalent commands:
. /usr/pgm/jboothe/test.env
. ./test.envgives
"operation not allowed in restricted shell"
So it doesn't like the full-path reference, which MIGHT be outside of my pwd, although not in this case. I did successfully source the file without the full-path:
. test.env
So you might have to put your environment set-up in your pwd. And you cannot trick it by sourcing my.env which in turn tries to source some full-path references.

![]() |
sed question
|
Resize Unix mount
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |