1 |
On Sunday 13 Jul 2014 16:54:54 Dale wrote: |
2 |
> Dale wrote: |
3 |
> > Mick wrote: |
4 |
> >> Please try this: Go the PC that keeps getting these messages in its |
5 |
> >> logs. Run: $ chrony chronyc> password password: |
6 |
> >> <manually_enter_your_chrony_Passwd> If the passwd is wrong, or some |
7 |
> >> characters are incompatible with the terminal, then you will get: |
8 |
> >> "Password: 501 Not authorised --- Reply not authenticated" You can |
9 |
> >> test this by entering the wrong passwd initially. Unfortunately, I no |
10 |
> >> longer have the PC running chrony to test it here. |
11 |
> > |
12 |
> > Since I'm having the same issue: |
13 |
> > |
14 |
> > root@fireball / # chronyc password |
15 |
> > Password: |
16 |
> > 501 Not authorised --- Reply not authenticated |
17 |
> > root@fireball / # |
18 |
> > |
19 |
> > So, that answers that question. It seems a password needs to be set here. |
20 |
> > |
21 |
> > < scratches head > |
22 |
> > |
23 |
> > It also seems we have the default setup and we all get this error at the |
24 |
> > same time. I got mine just a bit ago. |
25 |
> > |
26 |
> > Dale |
27 |
> > |
28 |
> > :-) :-) |
29 |
> |
30 |
> Update. This *SEEMS* to make it happy. |
31 |
> |
32 |
> /etc/chrony/chrony.keys |
33 |
> |
34 |
> Make it look something like this: |
35 |
> |
36 |
> 1 testchrony |
37 |
> 2 MD5 HEX:B028F91EA5D93D06C2E140B26C7F41EC |
38 |
> 3 SHA1 HEX:1DC764E07B1911FA67EFC7ECBC4B0D73F68A070C |
39 |
> |
40 |
> The password is behind #1. You also need this file set up too. |
41 |
> |
42 |
> /etc/chrony/chrony.conf |
43 |
> |
44 |
> This is the key part: |
45 |
> |
46 |
> # Tell chronyd which numbered key in the file is used as the password |
47 |
> # for chronyc. (You can pick any integer up to 2**32-1. '1' is just a |
48 |
> # default. Using another value will _NOT_ increase security.) |
49 |
> |
50 |
> commandkey 1 |
51 |
> |
52 |
> Should be able to just uncomment the thing. Restart chrony, or I guess |
53 |
> you could tell it to reload the config, then test again. |
54 |
> |
55 |
> root@fireball / # chronyc password |
56 |
> Password: |
57 |
> 200 OK |
58 |
> root@fireball / # |
59 |
> |
60 |
> Now let's see if I get a email with a error next week. o_O |
61 |
|
62 |
|
63 |
Right, you need to set up your /etc/chrony/chrony.keys file, but Peter said |
64 |
that he had configured all this. |
65 |
|
66 |
-- |
67 |
Regards, |
68 |
Mick |