<?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: remsh command as root does not work. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480900#M18183</link>
    <description>Hi Richard,&lt;BR /&gt;&lt;BR /&gt;You could use the full pathname for your command, like in:&lt;BR /&gt;remsh box1 -l root -n "/the/dir/this.scr" &lt;BR /&gt;or&lt;BR /&gt;remsh box1 -l root -n "sh -c \"cd /the/dir; ./this.scr\" "&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
    <pubDate>Tue, 09 Jan 2001 17:04:41 GMT</pubDate>
    <dc:creator>Dan Hetzel</dc:creator>
    <dc:date>2001-01-09T17:04:41Z</dc:date>
    <item>
      <title>remsh command as root does not work.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480898#M18181</link>
      <description>I cant get my &lt;BR /&gt;remsh box1 -l root "cd to/the/dir;./this.scr"&lt;BR /&gt;to work. It will not execute the command ./this.scr right. I get an error. &lt;BR /&gt;saying ./start.nrcmd: nrcmd:  not found.&lt;BR /&gt;Does anyone have any ideas? on what the problem might me?&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jan 2001 16:56:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480898#M18181</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-01-09T16:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: remsh command as root does not work.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480899#M18182</link>
      <description>Well, first do you have .rhosts file set up on the other box?&lt;BR /&gt;Now when I want to run a job remotely I set my remsh up like this:&lt;BR /&gt;&lt;BR /&gt;remsh &lt;OTHERSERVER&gt; ./full path/script to run&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Just one thought,&lt;BR /&gt;rcw&lt;/OTHERSERVER&gt;</description>
      <pubDate>Tue, 09 Jan 2001 17:04:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480899#M18182</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-01-09T17:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: remsh command as root does not work.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480900#M18183</link>
      <description>Hi Richard,&lt;BR /&gt;&lt;BR /&gt;You could use the full pathname for your command, like in:&lt;BR /&gt;remsh box1 -l root -n "/the/dir/this.scr" &lt;BR /&gt;or&lt;BR /&gt;remsh box1 -l root -n "sh -c \"cd /the/dir; ./this.scr\" "&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jan 2001 17:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480900#M18183</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-09T17:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: remsh command as root does not work.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480901#M18184</link>
      <description>I got it to work .. I can exe. the command. &lt;BR /&gt;The .scr is acully a menu script. But the thing is that some of the commands on the menu do not work when I remsh the .scr. &lt;BR /&gt;But when I exe the .scr from the box everything in the menu works.</description>
      <pubDate>Tue, 09 Jan 2001 17:25:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480901#M18184</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-01-09T17:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: remsh command as root does not work.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480902#M18185</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;As Dan mentioned, you should use the full pathname.&lt;BR /&gt;A script doesn't have the PATH's defined as in /etc/PATH.&lt;BR /&gt;&lt;BR /&gt;Good Luck</description>
      <pubDate>Tue, 09 Jan 2001 17:31:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480902#M18185</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2001-01-09T17:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: remsh command as root does not work.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480903#M18186</link>
      <description>Hi&lt;BR /&gt;When using remsh command on scripts, give full paths for all commands.&lt;BR /&gt;eg.&lt;BR /&gt;/usr/bin/echo "Sample comments"&lt;BR /&gt;&lt;BR /&gt;Normally in my scripts I define commonly required paths as ENV variables at begining and then use it before each commands. This is required because when doing remsh it would not execute the .profile to set your env.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jan 2001 17:34:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-command-as-root-does-not-work/m-p/2480903#M18186</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-01-09T17:34:50Z</dc:date>
    </item>
  </channel>
</rss>

