[system-administrators-guide] Some updates to en-US/Configuring_NTP_Using_the_chrony_Suite.xml after review Adding example of the
by stephenw
commit bd3de1d1fd8d29722a407e78d532f1eaf130b906
Author: Stephen Wadeley <swadeley(a)redhat.com>
Date: Mon Nov 4 22:03:57 2013 +0100
Some updates to en-US/Configuring_NTP_Using_the_chrony_Suite.xml after review
Adding example of the -a option for chronyc
en-US/Configuring_NTP_Using_the_chrony_Suite.xml | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/en-US/Configuring_NTP_Using_the_chrony_Suite.xml b/en-US/Configuring_NTP_Using_the_chrony_Suite.xml
index 0d1372a..31f9560 100644
--- a/en-US/Configuring_NTP_Using_the_chrony_Suite.xml
+++ b/en-US/Configuring_NTP_Using_the_chrony_Suite.xml
@@ -445,6 +445,9 @@ peer w.x.y.z key 10
chronyc> <command>password HEX:A6CFC50C9C93AB6E5A19754C246242FC5471BCDF</command>
200 OK</screen>
</para>
+<para>
+ If <application>chronyc</application> is used to configure the local <application>chronyd</application>, the <option>-a</option> option will run the <command>authhash</command> and <command>password</command> commands automatically.
+</para>
<para>
Only the following commands can be used without providing a password:
@@ -860,7 +863,12 @@ This is the estimated error bounds on Freq (again in parts per million).
Where <replaceable>commandkey-password</replaceable> is the command key or password stored in the key file.
</para>
<para>
- The real-time clock should not be manually adjusted if the <command>rtcfile</command> directive is used as this would interfere with <application>chrony</application>'s need to measure the rate at which the real-time clock drifts if it was adjusted at random intervals.</para>
+ The real-time clock should not be manually adjusted if the <command>rtcfile</command> directive is used as this would interfere with <application>chrony</application>'s need to measure the rate at which the real-time clock drifts if it was adjusted at random intervals.
+</para>
+<para>
+ If <application>chronyc</application> is used to configure the local <application>chronyd</application>, the <option>-a</option> will run the <command>authhash</command> and <command>password</command> commands automatically. This means that the interactive session illustrated above can be replaced by:
+ <synopsis>chronyc -a makestep</synopsis>
+</para>
</section>
</section>
10 years, 6 months
[system-administrators-guide] Some updates to en-US/Configuring_NTP_Using_the_chrony_Suite.xml after review We don't need "Configu
by stephenw
commit 3342295eaa12f2fe0ee339da0e7b6160937e782e
Author: Stephen Wadeley <swadeley(a)redhat.com>
Date: Mon Nov 4 22:00:20 2013 +0100
Some updates to en-US/Configuring_NTP_Using_the_chrony_Suite.xml after review
We don't need "Configuring chrony to Connect and Disconnect" section because
NetworkManager stops and starts chrony for us.
en-US/Configuring_NTP_Using_the_chrony_Suite.xml | 26 ----------------------
1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/en-US/Configuring_NTP_Using_the_chrony_Suite.xml b/en-US/Configuring_NTP_Using_the_chrony_Suite.xml
index 8a0db6c..0d1372a 100644
--- a/en-US/Configuring_NTP_Using_the_chrony_Suite.xml
+++ b/en-US/Configuring_NTP_Using_the_chrony_Suite.xml
@@ -895,32 +895,6 @@ The <option>offline</option> option can be useful in preventing systems from try
</listitem>
</orderedlist>
</para>
-
- <section id="sect-Configuring_chrony_to_connect_and_disconnect">
- <title>Configuring chrony to Connect and Disconnect</title>
-<para>
-Using your editor running as root, add the following to the <filename>/etc/ppp/ip-up</filename> file:
- <screen>
-/usr/bin/chronyc
-password <replaceable>commandkey-password</replaceable>
-online
-</screen>
-</para>
-
-<para>
-Using your editor running as root, add the following to the <filename>/etc/ppp/ip-down</filename> file:
- <screen>
-/usr/bin/chronyc
-password <replaceable>commandkey-password</replaceable>
-offline
-</screen>
-
-</para>
-<para>
- The <application>chrony</application> daemon, <systemitem class="daemon">chronyd</systemitem>, will now only poll the <systemitem class="protocol">NTP</systemitem> servers when the <systemitem class="protocol">Point-To-Point</systemitem> link is activated.
-</para>
-</section>
-
</section>
10 years, 6 months
[cloud-guide] New EC2 images like fedora as username, not ec2-user
by Pete Travis
commit 97dd2bbdf16364c46c30f0a517f4cc574869d714
Author: Pete Travis <immanetize(a)fedoraproject.org>
Date: Sat Nov 2 13:34:35 2013 -0600
New EC2 images like fedora as username, not ec2-user
en-US/AmazonEC2.xml | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/en-US/AmazonEC2.xml b/en-US/AmazonEC2.xml
index 6b11b2a..b4bebdc 100644
--- a/en-US/AmazonEC2.xml
+++ b/en-US/AmazonEC2.xml
@@ -376,9 +376,9 @@ INSTANCE i-910fbbd6 ami-7f5a063a ec2-204-236-168-22.us-east-1.compute.amaz
</screen>
<para>The public address of the instance in this example is <literal>ec2-204-236-168-22.us-east-1.compute.amazonaws.com</literal>. Other useful bits of information from this command include the availability zone in which the instance is running (<literal>us-east-1c</literal> in this case) and the time that the instance started.</para>
- <para>Once the instance is <literal>running</literal> you can log into it with <command>ssh</command>. On Fedora's images you should log in as the user <literal>ec2-user</literal>:</para>
-<screen><command><prompt>$ </prompt>ssh -i mykey.pem ec2-user(a)ec2-204-236-168-22.us-east-1.compute.amazonaws.com</command>
-<command><prompt>[ec2-user@i-910fbbd6 ~]$ </prompt>cat /etc/fedora-release</command>
+ <para>Once the instance is <literal>running</literal> you can log into it with <command>ssh</command>. On Fedora's images you should log in as the user <literal>fedora</literal>:</para>
+<screen><command><prompt>$ </prompt>ssh -i mykey.pem fedora(a)ec2-204-236-168-22.us-east-1.compute.amazonaws.com</command>
+<command><prompt>[fedora@i-910fbbd6 ~]$ </prompt>cat /etc/fedora-release</command>
Fedora release 16 (Verne)
</screen>
@@ -424,13 +424,13 @@ VOLUME vol-23ca3542 10 us-east-1c available 2011-10-11T00:00:00.000Z
</note>
<para>Once you have attached a volume to the instance it will appear as a disk in the instance's /dev directory, ready to be formatted and used.</para>
-<screen><command><prompt>[ec2-user@i-910fbbd6 ~]$ </prompt>mkfs.ext4 /dev/xvdf</command>
-<command><prompt>[ec2-user@i-910fbbd6 ~]$ </prompt>mount /dev/xvdf /mnt</command>
+<screen><command><prompt>[fedora@i-910fbbd6 ~]$ </prompt>mkfs.ext4 /dev/xvdf</command>
+<command><prompt>[fedora@i-910fbbd6 ~]$ </prompt>mount /dev/xvdf /mnt</command>
</screen>
<para>When you finish using a volume you can unmount it from within the instance and then <emphasis>detach</emphasis> it:</para>
-<screen><command><prompt>[ec2-user@i-910fbbd6 ~]$ </prompt>umount /dev/xvdf</command>
-<command><prompt>[ec2-user@i-910fbbd6 ~]$ </prompt>logout</command>
+<screen><command><prompt>[fedora@i-910fbbd6 ~]$ </prompt>umount /dev/xvdf</command>
+<command><prompt>[fedora@i-910fbbd6 ~]$ </prompt>logout</command>
<command><prompt>$ </prompt>euca-detach-volume vol-23ca3542</command>
</screen>
</section>
10 years, 6 months