doc: improve answer in FAQ for error 501 Not authorised

This commit is contained in:
Miroslav Lichvar 2016-04-12 12:27:31 +02:00
parent d86e9f4aa3
commit 7d7bf915ac

View file

@ -271,8 +271,14 @@ Perhaps you have a firewall set up in a way that blocks packets on port
=== I keep getting the error +501 Not authorised+ === I keep getting the error +501 Not authorised+
Since version 2.2, the +password+ command doesn't do anything and +chronyc+ Since version 2.2, the +password+ command doesn't do anything and +chronyc+
needs to run under the root or chrony user, which are allowed to access the needs to run locally under the root or _chrony_ user, which are allowed to
Unix domain command socket. access the +chronyd+'s Unix domain command socket.
With older versions, you need to authenticate with the +password+ command or
use the +-a+ option to authenticate automatically. The configuration file
needs to specify a file which contains keys (+keyfile+ directive) and which key
in the key file should be used for +chronyc+ authentication (+commandkey+
directive).
=== Is the +chronyc+ / +chronyd+ protocol documented anywhere? === Is the +chronyc+ / +chronyd+ protocol documented anywhere?