Merge #14804: docs: Less confusing documentation for torpassword

6c6ee8af8 Less confusing documentation for `torpassword` (Chakib Benziane)

Pull request description:

  Rebased & squashed #14609.

  > The current documentation leads the reader to think hash-password is an other option.
  This change is less confusing and make it clear how to use this option.

Tree-SHA512: b94223715f1d28a8218e501117faa103d7cc791333e6d9a40e9253756070316d41de73e3b4593cd1fa9e1823fa8e8de4938cf0de89117a6e4649401d877e3477
This commit is contained in:
Wladimir J. van der Laan 2018-12-04 11:30:14 +01:00 committed by Munkybooty
parent 2d5a90f3b5
commit 6b3ec8fe0d

View File

@ -136,9 +136,13 @@ preconfigured and the creation of a hidden service is automatic. If permission p
are seen with `-debug=tor` they can be resolved by adding both the user running Tor and are seen with `-debug=tor` they can be resolved by adding both the user running Tor and
the user running dashd to the same group and setting permissions appropriately. On the user running dashd to the same group and setting permissions appropriately. On
Debian-based systems the user running dashd can be added to the debian-tor group, Debian-based systems the user running dashd can be added to the debian-tor group,
which has the appropriate permissions. An alternative authentication method is the use which has the appropriate permissions.
of the `-torpassword` flag and a `hash-password` which can be enabled and specified in
Tor configuration. An alternative authentication method is the use
of the `-torpassword=password` option. The `password` is the clear text form that
was used when generating the hashed password for the `HashedControlPassword` option
in the tor configuration file. The hashed password can be obtained with the command
`tor --hash-password password` (read the tor manual for more details).
## 5. Privacy recommendations ## 5. Privacy recommendations