Pull request 186: 6387-htpasswd
Updates AdguardTeam/AdGuardHome#6387. Squashed commit of the following: commit 29aa66c681cc57cbf279dc9780dfea902844ea1b Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Nov 7 16:38:10 2023 +0300 Configuration: imp htpasswd call
parent
beebafd906
commit
a3c6e0cecd
|
@ -786,7 +786,7 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib
|
||||||
disabled. Before **v0.108.0-b.5** the default value was `754`, since
|
disabled. Before **v0.108.0-b.5** the default value was `754`, since
|
||||||
**v0.108.0-b.5** it's `853`.
|
**v0.108.0-b.5** it's `853`.
|
||||||
- `port_dnscrypt`: The DNSCrypt port. If `0`, DNSCrypt is disabled. See
|
- `port_dnscrypt`: The DNSCrypt port. If `0`, DNSCrypt is disabled. See
|
||||||
[DNSCrypt] for more information and examples.
|
the “[DNSCrypt][dnscrypt wiki]” page for more information and examples.
|
||||||
- `dnscrypt_config_file`: The path to the DNSCrypt configuration file.
|
- `dnscrypt_config_file`: The path to the DNSCrypt configuration file.
|
||||||
**Must** be set if `port_dnscrypt` is not `0`. See the [`dnscrypt`] utility
|
**Must** be set if `port_dnscrypt` is not `0`. See the [`dnscrypt`] utility
|
||||||
documentation for examples of configuration generation.
|
documentation for examples of configuration generation.
|
||||||
|
@ -847,7 +847,7 @@ Removing an entry from settings file will reset it to the default value. Deletin
|
||||||
|
|
||||||
[DDR]: https://www.ietf.org/archive/id/draft-ietf-add-ddr-06.html
|
[DDR]: https://www.ietf.org/archive/id/draft-ietf-add-ddr-06.html
|
||||||
[DHCP]: https://github.com/AdguardTeam/AdGuardHome/wiki/DHCP
|
[DHCP]: https://github.com/AdguardTeam/AdGuardHome/wiki/DHCP
|
||||||
[DNSCrypt]: https://github.com/AdguardTeam/AdGuardHome/wiki/DNSCrypt
|
[dnscrypt wiki]: https://github.com/AdguardTeam/AdGuardHome/wiki/DNSCrypt
|
||||||
[`dnscrypt`]: https://github.com/ameshkov/dnscrypt
|
[`dnscrypt`]: https://github.com/ameshkov/dnscrypt
|
||||||
[docker-conf]: https://github.com/AdguardTeam/AdGuardHome/wiki/Docker#configuration
|
[docker-conf]: https://github.com/AdguardTeam/AdGuardHome/wiki/Docker#configuration
|
||||||
[hsts]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
|
[hsts]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
|
||||||
|
@ -891,13 +891,13 @@ Please follow these steps to create a new password for your user account:
|
||||||
* Ubuntu/Fedora:
|
* Ubuntu/Fedora:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
htpasswd -B -n -b <USERNAME> <PASSWORD>
|
htpasswd -B -C 10 -n -b <USERNAME> <PASSWORD>
|
||||||
```
|
```
|
||||||
|
|
||||||
* Windows:
|
* Windows:
|
||||||
|
|
||||||
```ps1
|
```ps1
|
||||||
.\Htpasswd -B -n -b <USERNAME> <PASSWORD>
|
.\Htpasswd -B -C 10 -n -b <USERNAME> <PASSWORD>
|
||||||
```
|
```
|
||||||
|
|
||||||
It will print `<USERNAME>:<HASH>` to the terminal.
|
It will print `<USERNAME>:<HASH>` to the terminal.
|
||||||
|
|
Loading…
Reference in New Issue