![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Launching Several Shells.... | marconi | Shell Programming and Scripting | 1 | 03-05-2008 07:24 PM |
| How can I do a rexec to execute un C exe ? | Lika | Shell Programming and Scripting | 4 | 02-22-2007 10:17 AM |
| Launching a new bash shell | gsd | Shell Programming and Scripting | 3 | 07-20-2006 04:30 AM |
| Rexec | pmj1970 | SUN Solaris | 1 | 04-20-2004 12:46 PM |
| launching OSX apps in UNIX | madknowledge | UNIX for Dummies Questions & Answers | 3 | 09-24-2002 03:07 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
launching script via REXEC
Hi folks!
my client uses an winapplication which is launching shell-scripts remotely on a HP-Unix Machine via Rexec. The application-configuration is launching the script (which is in the home directory of connecting user) like: Code:
rexec host user pass shell.sh Now they decided to get rid of the quite expensive HP-Unix server and asked me to do the same on a Linux-Distro. I set up CentOS and the REXEC-daemon, but.... 1. When I launch the script against new Linux server with (same command as it is done towards old HP Unix): Code:
rexec host user pass shell.sh 2. When I launch the script with: Code:
rexec host user pass ./shell.sh I tried already to put the script-folder to the PATH-variable, but it did not help. Does somebody know what else I can do? My only little goal is to get this script launched using the commands at point 1. PS: I know REXEC is not secure, but it's a requirement by company |
|
||||
|
Quote:
it works with ./shell.sh and also with /path/where/it/is/shell.sh but my problem is that i am not allowed to change the launching-parameters. so i'm looking for a solution on the linux-server where rexecd is installed |
|
||||
|
ok solved it!
I checked the $PATH variable via rexec (it was different than on system) and put a symbolic link to the script on a folder which was in PATH-var |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| linux commands, unix commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|