<?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 NTP Config Changes in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976495#M47141</link>
    <description>Hello All&lt;BR /&gt;&lt;BR /&gt;I want to change the the NTP server location on all my linux server's&lt;BR /&gt;&lt;BR /&gt;Is there a way I can do it from a script. ( I dont want to login in each box and then edit the file and restart NTP)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vipul</description>
    <pubDate>Tue, 02 May 2006 04:11:19 GMT</pubDate>
    <dc:creator>Vipulinux</dc:creator>
    <dc:date>2006-05-02T04:11:19Z</dc:date>
    <item>
      <title>NTP Config Changes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976495#M47141</link>
      <description>Hello All&lt;BR /&gt;&lt;BR /&gt;I want to change the the NTP server location on all my linux server's&lt;BR /&gt;&lt;BR /&gt;Is there a way I can do it from a script. ( I dont want to login in each box and then edit the file and restart NTP)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vipul</description>
      <pubDate>Tue, 02 May 2006 04:11:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976495#M47141</guid>
      <dc:creator>Vipulinux</dc:creator>
      <dc:date>2006-05-02T04:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Config Changes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976496#M47142</link>
      <description>You should just allow ssh/scp without password to your linux servers from some "management" linux machine, after that you can:&lt;BR /&gt;- distribute updated ntp.conf using scp&lt;BR /&gt;- run "service ntpd restart" using ssh&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Vitaly</description>
      <pubDate>Tue, 02 May 2006 05:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976496#M47142</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-05-02T05:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Config Changes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976497#M47143</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Can i use some kind of script that will read an tst file and then ssh to each box and then ask whether i want to copy ntp conf file and if i say yes it copies. That is what I am looking for dont wanna login to 100 of server's&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 02 May 2006 06:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976497#M47143</guid>
      <dc:creator>Vipulinux</dc:creator>
      <dc:date>2006-05-02T06:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Config Changes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976498#M47144</link>
      <description>You can create a script like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for IP in `seq 254`; do&lt;BR /&gt;echo "192.168.0.$IP: Do you want to transfer the file to this host?"&lt;BR /&gt;read OPTION&lt;BR /&gt;if [ $OPTION = yes ]; then&lt;BR /&gt;  scp $1 192.168.0.$IP:$2&lt;BR /&gt;  # service &lt;SERVICENAME&gt; restart&lt;BR /&gt;else&lt;BR /&gt;  echo "Skipping host 192.168.0.$IP"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In this example, you will transfer a test file (first argument) to all hosts in the network 192.168.0. You need to confirm the transfer, and the location is the second argument, use it like this:&lt;BR /&gt;&lt;BR /&gt;transfer_file.bash /tmp/testfile /etc&lt;BR /&gt;&lt;BR /&gt;To transfer /tmp/testfile to the /etc directory. Anyway, you need to login to all hosts unless you have configured public keys without authentication.&lt;/SERVICENAME&gt;</description>
      <pubDate>Tue, 02 May 2006 08:09:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976498#M47144</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-05-02T08:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Config Changes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976499#M47145</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I would make one script on one server, test it and distribute it with ssh or rsync using ssh.&lt;BR /&gt;&lt;BR /&gt;Then issue a ssh hostname "service ntpd restart" from a central server.&lt;BR /&gt;&lt;BR /&gt;Centralized ssh password free access needs to be in place prior to this.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 02 May 2006 08:52:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976499#M47145</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-05-02T08:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Config Changes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976500#M47146</link>
      <description>Changes like this are typical of a task &lt;BR /&gt;that you would use cfengine for.  It could&lt;BR /&gt;do the whole distribution and restart for&lt;BR /&gt;you.&lt;BR /&gt;&lt;BR /&gt;Failing that scp/ssh or rsync as suggested&lt;BR /&gt;are also appropriate.&lt;BR /&gt;&lt;BR /&gt;I expect this would be your NTP server that&lt;BR /&gt;the address is changing for.  Make sure &lt;BR /&gt;you don't replace its config file.&lt;BR /&gt;&lt;BR /&gt;I use a standard ntp.conf file for all servers&lt;BR /&gt;that support the includefile directive.&lt;BR /&gt;The included files specifies the servers. &lt;BR /&gt;&lt;BR /&gt;You will need to distribute the file to all&lt;BR /&gt;the clients/&lt;BR /&gt;&lt;BR /&gt;If you have keys setup you can use ntpdc &lt;BR /&gt;to reconfigure the running clients.&lt;BR /&gt;Otherwise you will need to restart the&lt;BR /&gt;clients using ssh.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 May 2006 16:39:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976500#M47146</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2006-05-02T16:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Config Changes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976501#M47147</link>
      <description>Hi All&lt;BR /&gt;&lt;BR /&gt;Thanks fir the info. As I need to login to every box will look at setting ssh keys and then use a script to reduce the manual task for next time.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vipul</description>
      <pubDate>Wed, 03 May 2006 05:17:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ntp-config-changes/m-p/4976501#M47147</guid>
      <dc:creator>Vipulinux</dc:creator>
      <dc:date>2006-05-03T05:17:29Z</dc:date>
    </item>
  </channel>
</rss>

