mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-01-03 09:57:47 -08:00
Merge pull request #1707 from roidelapluie/doc
https: Fix htpasswd command
This commit is contained in:
commit
b8847b5b32
|
@ -68,7 +68,7 @@ basic_auth_users:
|
||||||
There are several tools out there to generate bcrypt passwords, e.g.
|
There are several tools out there to generate bcrypt passwords, e.g.
|
||||||
[htpasswd](https://httpd.apache.org/docs/2.4/programs/htpasswd.html):
|
[htpasswd](https://httpd.apache.org/docs/2.4/programs/htpasswd.html):
|
||||||
|
|
||||||
`htpasswd -nBC 10 "" | tr -d ':\n`
|
`htpasswd -nBC 10 "" | tr -d ':\n'`
|
||||||
|
|
||||||
That command will prompt you for a password and output the hashed password,
|
That command will prompt you for a password and output the hashed password,
|
||||||
which will look something like:
|
which will look something like:
|
||||||
|
|
Loading…
Reference in a new issue