From eaef0f2d444800c24558073d51aa4a187d7d7c1a Mon Sep 17 00:00:00 2001 From: Urs Braem Date: Tue, 24 Dec 2019 14:57:59 +0100 Subject: [PATCH] htpasswd: add direct generation of username/password (#3357) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Zlatan Vasović --- pages/common/htpasswd.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/htpasswd.md b/pages/common/htpasswd.md index 4479312e4c..16fb2d7af4 100644 --- a/pages/common/htpasswd.md +++ b/pages/common/htpasswd.md @@ -22,3 +22,7 @@ - Verify user password: `htpasswd -v {{path/to/file}} {{user_name}}` + +- Display a string with username (plain text) and password (md5): + +`htpasswd -nbm {{user_name}} {{password}}`