Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote Execution (rexec command)

Status
Not open for further replies.

rondonc

Technical User
Jul 3, 2002
4
US
Hi,

I have an application that interact with UnixWare 2.1.3, this application will be migrated to Linux RedHat 6.2. The application runs rexec command, and execute a shell script in the Unix Server, but when I run this application on Linux RedHat it doesn't run, because I get the following error:
"rexec:connect: The connection has been rejected rexec: the connection cannot be established"

And does not execute the shell script I want.

Ideas, tricks, etc ?

Thanks,
rondonc
 
Hi Everybody,

I have found the solution to my thread. These are the steps you have to take to execute rexec in Linux RedHat 6.2 at least !!! Follow these steps:

1. Install rsh-0.16-12 and rsh-server-0.16-12
2. Add the IP Address in the /etc/hosts
3. Delete the commentary in the line of exec in the file /etc/inetd.conf
4. Run the commmand /sbin/service inet restart

Well I hope this can help another people.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top