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