diff options
author | sthibaul <sthibaul@web> | 2023-01-12 18:29:19 +0000 |
---|---|---|
committer | IkiWiki <ikiwiki.info> | 2023-01-12 18:29:19 +0000 |
commit | a97c81547fc055ebd67039b25a8d7cfe3e41f2f4 (patch) | |
tree | 95b44a64c7215d226b1611dee43f9568c0173036 | |
parent | 5f6d9f9057a0c825d7b31a6db485f8c4c70d4caf (diff) |
-rw-r--r-- | wiki/401.mdwn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiki/401.mdwn b/wiki/401.mdwn index c3a12ff..f3fad00 100644 --- a/wiki/401.mdwn +++ b/wiki/401.mdwn @@ -15,7 +15,7 @@ Several ways are possible to define your password and encrypt it so you can safe * local shell with apache installed: * `htpasswd -c -m /dev/stdout DesiredUsername` # and input your password at the prompts * local shell with python installed: - * `python3 -c 'import crypt; print(crypt.crypt(input(), crypt.METHOD_MD5))'` + * `python3 -c 'import crypt; password=input(); print("DesiredUserName:", end=""); print(crypt.crypt(password, crypt.METHOD_MD5));'` * browser (currently non-working): * <https://secure.freedesktop.org/static/htpasswd.html> |