<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: remotely execute a process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946552#M931464</link>
    <description>config .rhosts on host A&lt;BR /&gt;# vi &lt;USER a="" dir=""&gt;&lt;BR /&gt;# add "B &lt;USER b=""&gt;" (without quote)&lt;BR /&gt;&lt;BR /&gt;then on the system B, logon as user B&lt;BR /&gt;&lt;BR /&gt;remsh A -l &lt;USER a=""&gt; ls /tmp&lt;/USER&gt;&lt;/USER&gt;&lt;/USER&gt;</description>
    <pubDate>Tue, 08 Apr 2003 20:17:04 GMT</pubDate>
    <dc:creator>Wilfred Chau_1</dc:creator>
    <dc:date>2003-04-08T20:17:04Z</dc:date>
    <item>
      <title>remotely execute a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946548#M931460</link>
      <description>I have a process, A, which is been called from another process, B, on the same HP UNIX box (HP-UX 11.0) using execlp commend.  Now the process B needs to be moved to a different HP UNIX box running the same operating system.  Both processes are written in ANSI C.&lt;BR /&gt;&lt;BR /&gt;My questions are&lt;BR /&gt;(1) How to execute A from B (on a different box)?&lt;BR /&gt;(2) What settings do I need on both boxes in order to make the remote execution work?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help.&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Apr 2003 19:39:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946548#M931460</guid>
      <dc:creator>Gaoping Yu</dc:creator>
      <dc:date>2003-04-08T19:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: remotely execute a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946549#M931461</link>
      <description>Although they are generally seen as a security risk, you can use the 'r*' commands to do this.  'rexec' or 'remsh' may a good alternative for you.  For this to work you must have either an /etc/hosts.equiv file or an .rhosts in the users home directory on the remote machine set up.&lt;BR /&gt;&lt;BR /&gt;See 'man rexec', 'man remsh' and 'man rhosts' for more information.&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Apr 2003 19:48:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946549#M931461</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-04-08T19:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: remotely execute a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946550#M931462</link>
      <description>Yu,&lt;BR /&gt;use remsh ("/usr/bin/remsh") and pass the commandss to be run as arguments.&lt;BR /&gt;&lt;BR /&gt;say if you wish to run "cat /tmp" on a remote node, run as follows -&lt;BR /&gt;&lt;BR /&gt;"remsh"   "&lt;HOST&gt; cat /tmp"&lt;BR /&gt;&lt;BR /&gt;.......   ...............&lt;BR /&gt;binary    arguments&lt;BR /&gt;&lt;BR /&gt;use remsh with -l option to specify the userid with which to login as, instead of as current user id of the executing process.&lt;BR /&gt;&lt;BR /&gt;for this, the files /etc/hosts.equiv need to be populated with details of equivalent users on both machines.&lt;BR /&gt;&lt;BR /&gt;see man rhosts for more info.&lt;BR /&gt;&lt;BR /&gt;Should work - i have never tried it out anyhow.&lt;BR /&gt;&lt;BR /&gt;- ramd.&lt;/HOST&gt;</description>
      <pubDate>Tue, 08 Apr 2003 19:53:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946550#M931462</guid>
      <dc:creator>Ramkumar Devanathan</dc:creator>
      <dc:date>2003-04-08T19:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: remotely execute a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946551#M931463</link>
      <description>You can use remsh to do that. Do a man remsh for more details. In order to use remsh, you must have an /etc/hosts.equiv file OR an .rhosts in the home directory of the user on the remote server.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;DR</description>
      <pubDate>Tue, 08 Apr 2003 20:05:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946551#M931463</guid>
      <dc:creator>Dario_1</dc:creator>
      <dc:date>2003-04-08T20:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: remotely execute a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946552#M931464</link>
      <description>config .rhosts on host A&lt;BR /&gt;# vi &lt;USER a="" dir=""&gt;&lt;BR /&gt;# add "B &lt;USER b=""&gt;" (without quote)&lt;BR /&gt;&lt;BR /&gt;then on the system B, logon as user B&lt;BR /&gt;&lt;BR /&gt;remsh A -l &lt;USER a=""&gt; ls /tmp&lt;/USER&gt;&lt;/USER&gt;&lt;/USER&gt;</description>
      <pubDate>Tue, 08 Apr 2003 20:17:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946552#M931464</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2003-04-08T20:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: remotely execute a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946553#M931465</link>
      <description>ssh has features like remote shell but is much more secure.&lt;BR /&gt;&lt;BR /&gt;Rory</description>
      <pubDate>Thu, 10 Apr 2003 14:09:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remotely-execute-a-process/m-p/2946553#M931465</guid>
      <dc:creator>Rory R Hammond</dc:creator>
      <dc:date>2003-04-10T14:09:00Z</dc:date>
    </item>
  </channel>
</rss>

