doc: refer to authhash command in password command description
This commit is contained in:
parent
ed5b78bf09
commit
9095b80c5b
1 changed files with 9 additions and 5 deletions
|
@ -3473,10 +3473,11 @@ directive in the configuration file.
|
||||||
@c {{{ authhash
|
@c {{{ authhash
|
||||||
@node authhash command
|
@node authhash command
|
||||||
@subsubsection authhash
|
@subsubsection authhash
|
||||||
This command sets the hash function used for authenticating user commands.
|
This command selects the hash function used for authenticating user commands.
|
||||||
For successful authentication the hash function has to be the same as the one
|
For successful authentication the hash function has to be the same as the
|
||||||
set for the command key in the keys file on the server. It needs to be set
|
function specified for the command key in the keys file on the server
|
||||||
before the @code{password} command is used. The default hash function is MD5.
|
(@pxref{keyfile directive}). It needs to be selected before the
|
||||||
|
@code{password} command is used. The default hash function is MD5.
|
||||||
|
|
||||||
An example is
|
An example is
|
||||||
|
|
||||||
|
@ -4172,7 +4173,10 @@ should enter the password and press return.
|
||||||
The password can be encoded as a string of characters not containing a space
|
The password can be encoded as a string of characters not containing a space
|
||||||
with optional @code{ASCII:} prefix or as a hexadecimal number with @code{HEX:}
|
with optional @code{ASCII:} prefix or as a hexadecimal number with @code{HEX:}
|
||||||
prefix. It has to match @code{chronyd's} currently defined command key
|
prefix. It has to match @code{chronyd's} currently defined command key
|
||||||
(@pxref{commandkey directive}).
|
(@pxref{commandkey directive}). If the command key was specified with a
|
||||||
|
different hash function than MD5, it's necessary to select the hash function
|
||||||
|
with the @code{authhash} command (@pxref{authhash command}) before entering the
|
||||||
|
password.
|
||||||
|
|
||||||
The password command is run automatically on start if @code{chronyc} was
|
The password command is run automatically on start if @code{chronyc} was
|
||||||
started with the `-a' option.
|
started with the `-a' option.
|
||||||
|
|
Loading…
Reference in a new issue