From 6015a757e350203b7723041e924191d6fc1562bf Mon Sep 17 00:00:00 2001 From: confusedguy9 <38110536+confusedguy9@users.noreply.github.com> Date: Wed, 23 Dec 2020 00:41:22 +0800 Subject: [PATCH] Update FAQ for proper hashed-password generation Get rid of the automatically inserted trailing newline. --- doc/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/FAQ.md b/doc/FAQ.md index 9787b9449b9d..f9d7953edb10 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -167,7 +167,7 @@ Again, please follow [./guide.md](./guide.md) for our recommendations on setting Yes you can! Use `hashed-password` instead of `password`. Generate the hash with: ``` -echo "thisismypassword" | sha256sum | cut -d' ' -f1 +echo -n "thisismypassword" | sha256sum | cut -d' ' -f1 ``` Of course replace `"thisismypassword"` with your actual password.