<?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: Common Function Scripts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/common-function-scripts/m-p/2528647#M24733</link>
    <description>Hi,&lt;BR /&gt;I use a script which I call dsh (distributed sh). It requires .netrc to be set up correctly for all hosts and rexecd permitted on inetd.conf for all targets.&lt;BR /&gt;&lt;BR /&gt;In addition it requires some testing if you like to play around with "&amp;lt; &amp;gt; | \" and so on.&lt;BR /&gt;But for simple jobs, this works ok.&lt;BR /&gt;&lt;BR /&gt;HOSTS="host01 host02 host03 host04"&lt;BR /&gt;for name in $HOSTS&lt;BR /&gt;do&lt;BR /&gt;  echo '================================='&lt;BR /&gt;  rexec $name $* | awk -v HOSTID=$name '{ print HOSTID " : " $0 }' &lt;BR /&gt;done&lt;BR /&gt;echo '================================='&lt;BR /&gt;&lt;BR /&gt;Sample:&lt;BR /&gt;&lt;BR /&gt;# dsh date&lt;BR /&gt;===============================================&lt;BR /&gt;host01 : Tue May 15 19:31:31 CEST 2001&lt;BR /&gt;===============================================&lt;BR /&gt;host02 : Tue May 15 19:32:08 CEST 2001&lt;BR /&gt;===============================================&lt;BR /&gt;host03 : Tue May 15 19:23:18 CEST 2001&lt;BR /&gt;===============================================&lt;BR /&gt;host04 : Tue May 15 19:23:26 CEST 2001&lt;BR /&gt;===============================================&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;hoops, I think I need to adjust the clocks...&lt;BR /&gt;&lt;BR /&gt;Volker</description>
    <pubDate>Tue, 15 May 2001 16:29:57 GMT</pubDate>
    <dc:creator>Volker Borowski</dc:creator>
    <dc:date>2001-05-15T16:29:57Z</dc:date>
    <item>
      <title>Common Function Scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/common-function-scripts/m-p/2528645#M24731</link>
      <description>Does anyone have "standard" scripts for common functions like changing root password and modifying cron (for reboots) over multiple systems?</description>
      <pubDate>Tue, 15 May 2001 14:37:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/common-function-scripts/m-p/2528645#M24731</guid>
      <dc:creator>Janet Abel</dc:creator>
      <dc:date>2001-05-15T14:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Common Function Scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/common-function-scripts/m-p/2528646#M24732</link>
      <description>See man modprpw(1).</description>
      <pubDate>Tue, 15 May 2001 14:47:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/common-function-scripts/m-p/2528646#M24732</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-15T14:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Common Function Scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/common-function-scripts/m-p/2528647#M24733</link>
      <description>Hi,&lt;BR /&gt;I use a script which I call dsh (distributed sh). It requires .netrc to be set up correctly for all hosts and rexecd permitted on inetd.conf for all targets.&lt;BR /&gt;&lt;BR /&gt;In addition it requires some testing if you like to play around with "&amp;lt; &amp;gt; | \" and so on.&lt;BR /&gt;But for simple jobs, this works ok.&lt;BR /&gt;&lt;BR /&gt;HOSTS="host01 host02 host03 host04"&lt;BR /&gt;for name in $HOSTS&lt;BR /&gt;do&lt;BR /&gt;  echo '================================='&lt;BR /&gt;  rexec $name $* | awk -v HOSTID=$name '{ print HOSTID " : " $0 }' &lt;BR /&gt;done&lt;BR /&gt;echo '================================='&lt;BR /&gt;&lt;BR /&gt;Sample:&lt;BR /&gt;&lt;BR /&gt;# dsh date&lt;BR /&gt;===============================================&lt;BR /&gt;host01 : Tue May 15 19:31:31 CEST 2001&lt;BR /&gt;===============================================&lt;BR /&gt;host02 : Tue May 15 19:32:08 CEST 2001&lt;BR /&gt;===============================================&lt;BR /&gt;host03 : Tue May 15 19:23:18 CEST 2001&lt;BR /&gt;===============================================&lt;BR /&gt;host04 : Tue May 15 19:23:26 CEST 2001&lt;BR /&gt;===============================================&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;hoops, I think I need to adjust the clocks...&lt;BR /&gt;&lt;BR /&gt;Volker</description>
      <pubDate>Tue, 15 May 2001 16:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/common-function-scripts/m-p/2528647#M24733</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2001-05-15T16:29:57Z</dc:date>
    </item>
  </channel>
</rss>

