summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsthibaul <sthibaul@web>2023-01-12 17:58:47 +0000
committerIkiWiki <ikiwiki.info>2023-01-12 17:58:47 +0000
commitc5c31adf44d21c0339a7e121624e077a8ec0b1bc (patch)
tree4ca9fe4b51fead7a98e375c628e55cb403082102
parenta897ba123bf7db5288e029a1275ddacb7693312b (diff)
Add local python alternative
-rw-r--r--wiki/401.mdwn4
1 files changed, 3 insertions, 1 deletions
diff --git a/wiki/401.mdwn b/wiki/401.mdwn
index 94f67be..f0e822c 100644
--- a/wiki/401.mdwn
+++ b/wiki/401.mdwn
@@ -12,7 +12,9 @@ If you don't have a shell account, you should find a way to generate a hash and
* local shell with apache installed:
* `htpasswd -c -m /dev/stdout DesiredUsername` # and input your password at the prompts
-* browser:
+* local shell with python installed:
+ * `python3 -c 'import crypt; print(crypt.crypt(input(), crypt.METHOD_MD5))'`
+* browser (currently non-working):
* <https://secure.freedesktop.org/static/htpasswd.html>
### Signing