public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Odd cron errors
Date: Sun, 13 Jul 2014 17:30:43 +0100	[thread overview]
Message-ID: <201407131730.45676.michaelkintzios@gmail.com> (raw)
In-Reply-To: <53C2ABCE.3070509@gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 2054 bytes --]

On Sunday 13 Jul 2014 16:54:54 Dale wrote:
> Dale wrote:
> > Mick wrote:
> >> Please try this: Go the PC that keeps getting these messages in its
> >> logs. Run: $ chrony chronyc> password password:
> >> <manually_enter_your_chrony_Passwd> If the passwd is wrong, or some
> >> characters are incompatible with the terminal, then you will get:
> >> "Password: 501 Not authorised --- Reply not authenticated" You can
> >> test this by entering the wrong passwd initially. Unfortunately, I no
> >> longer have the PC running chrony to test it here.
> > 
> > Since I'm having the same issue:
> > 
> > root@fireball / # chronyc password
> > Password:
> > 501 Not authorised --- Reply not authenticated
> > root@fireball / #
> > 
> > So, that answers that question. It seems a password needs to be set here.
> > 
> > < scratches head >
> > 
> > It also seems we have the default setup and we all get this error at the
> > same time.  I got mine just a bit ago.
> > 
> > Dale
> > 
> > :-)  :-)
> 
> Update.  This *SEEMS* to make it happy.
> 
> /etc/chrony/chrony.keys
> 
> Make it look something like this:
> 
> 1 testchrony
> 2 MD5 HEX:B028F91EA5D93D06C2E140B26C7F41EC
> 3 SHA1 HEX:1DC764E07B1911FA67EFC7ECBC4B0D73F68A070C
> 
> The password is behind #1.  You also need this file set up too.
> 
> /etc/chrony/chrony.conf
> 
> This is the key part:
> 
> # Tell chronyd which numbered key in the file is used as the password
> # for chronyc. (You can pick any integer up to 2**32-1.  '1' is just a
> # default.  Using another value will _NOT_ increase security.)
> 
> commandkey 1
> 
> Should be able to just uncomment the thing.  Restart chrony, or I guess
> you could tell it to reload the config, then test again.
> 
> root@fireball / # chronyc password
> Password:
> 200 OK
> root@fireball / #
> 
> Now let's see if I get a email with a error next week.  o_O


Right, you need to set up your /etc/chrony/chrony.keys file, but Peter said 
that he had configured all this.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2014-07-13 16:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-01  9:48 [gentoo-user] Odd cron errors Peter Humphrey
2014-07-01 10:57 ` Alan McKinnon
2014-07-01 13:12   ` Dale
2014-07-01 13:52   ` Peter Humphrey
2014-07-01 11:13 ` Mick
2014-07-01 14:01   ` Peter Humphrey
2014-07-13  9:20     ` Peter Humphrey
2014-07-13 10:15       ` Mick
2014-07-13 15:42         ` Dale
2014-07-13 15:54           ` Dale
2014-07-13 16:30             ` Mick [this message]
2014-07-13 20:08               ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201407131730.45676.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox