<?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: RSH scripting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rsh-scripting/m-p/2970161#M120230</link>
    <description>How about...&lt;BR /&gt;&lt;BR /&gt;remsh hostname -l username -n script args&lt;BR /&gt;&lt;BR /&gt;If you don't have the .rhosts or host.equiv file setup then try rexec.&lt;BR /&gt;&lt;BR /&gt;rexec hostname -l username -n script args&lt;BR /&gt;&lt;BR /&gt;hop this helps,&lt;BR /&gt;-denver</description>
    <pubDate>Sun, 11 May 2003 04:19:14 GMT</pubDate>
    <dc:creator>Denver Osborn</dc:creator>
    <dc:date>2003-05-11T04:19:14Z</dc:date>
    <item>
      <title>RSH scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsh-scripting/m-p/2970159#M120228</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to execute script on remote system as a particular user&lt;BR /&gt;&lt;BR /&gt;remsh system su - user -c script &lt;ARGUMENT&gt;&lt;BR /&gt;&lt;BR /&gt;Remote script is being executed without argument.&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;/ARGUMENT&gt;</description>
      <pubDate>Sun, 11 May 2003 00:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsh-scripting/m-p/2970159#M120228</guid>
      <dc:creator>SAM_24</dc:creator>
      <dc:date>2003-05-11T00:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: RSH scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsh-scripting/m-p/2970160#M120229</link>
      <description>remesh system /usr/bin/su -c "scriptname &lt;ARGUMENT&gt;"&lt;BR /&gt;&lt;BR /&gt;The scriptname and argument in the su -c must be in double quotes.&lt;BR /&gt;&lt;BR /&gt;You should also make sure the full path is in the scriptname, because you have no path in this setup.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/ARGUMENT&gt;</description>
      <pubDate>Sun, 11 May 2003 01:19:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsh-scripting/m-p/2970160#M120229</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-11T01:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: RSH scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsh-scripting/m-p/2970161#M120230</link>
      <description>How about...&lt;BR /&gt;&lt;BR /&gt;remsh hostname -l username -n script args&lt;BR /&gt;&lt;BR /&gt;If you don't have the .rhosts or host.equiv file setup then try rexec.&lt;BR /&gt;&lt;BR /&gt;rexec hostname -l username -n script args&lt;BR /&gt;&lt;BR /&gt;hop this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Sun, 11 May 2003 04:19:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsh-scripting/m-p/2970161#M120230</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2003-05-11T04:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: RSH scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsh-scripting/m-p/2970162#M120231</link>
      <description>if the script requires root privileges, then you could use sudo.&lt;BR /&gt;&lt;BR /&gt;remsh remote_host "/usr/local/bin/sudo scritp_to_exec"&lt;BR /&gt;&lt;BR /&gt;of course you know you will have to add the script perms in /etc/sudoers file.</description>
      <pubDate>Sun, 11 May 2003 13:50:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsh-scripting/m-p/2970162#M120231</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-05-11T13:50:27Z</dc:date>
    </item>
  </channel>
</rss>

