]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
doc: refer to authhash command in password command description
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 17 Jun 2015 16:30:10 +0000 (18:30 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 17 Jun 2015 16:31:16 +0000 (18:31 +0200)
chrony.texi.in

index 5a5125963586f22416d12dc902d339e5a16357d8..990d3c71d22141b8c54cca9bcc41192b9b8eb4df 100644 (file)
@@ -3473,10 +3473,11 @@ directive in the configuration file.
 @c {{{ authhash
 @node authhash command
 @subsubsection authhash
-This command sets the hash function used for authenticating user commands.
-For successful authentication the hash function has to be the same as the one
-set for the command key in the keys file on the server.  It needs to be set
-before the @code{password} command is used.  The default hash function is MD5.
+This command selects the hash function used for authenticating user commands.
+For successful authentication the hash function has to be the same as the
+function specified for the command key in the keys file on the server
+(@pxref{keyfile directive}).  It needs to be selected before the
+@code{password} command is used.  The default hash function is MD5.
 
 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
 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
-(@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
 started with the `-a' option.