- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remotely execute a process
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 12:39 PM
04-08-2003 12:39 PM
remotely execute a process
My questions are
(1) How to execute A from B (on a different box)?
(2) What settings do I need on both boxes in order to make the remote execution work?
Thanks in advance for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 12:48 PM
04-08-2003 12:48 PM
Re: remotely execute a process
See 'man rexec', 'man remsh' and 'man rhosts' for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 12:53 PM
04-08-2003 12:53 PM
Re: remotely execute a process
use remsh ("/usr/bin/remsh") and pass the commandss to be run as arguments.
say if you wish to run "cat /tmp" on a remote node, run as follows -
"remsh" "
....... ...............
binary arguments
use remsh with -l option to specify the userid with which to login as, instead of as current user id of the executing process.
for this, the files /etc/hosts.equiv need to be populated with details of equivalent users on both machines.
see man rhosts for more info.
Should work - i have never tried it out anyhow.
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 01:05 PM
04-08-2003 01:05 PM
Re: remotely execute a process
Regards,
DR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 01:17 PM
04-08-2003 01:17 PM
Re: remotely execute a process
# vi
# add "B
then on the system B, logon as user B
remsh A -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2003 07:09 AM
04-10-2003 07:09 AM
Re: remotely execute a process
Rory