Home htpasswd
Post
Cancel

htpasswd

To create htpasswd accounts from command line use;

1
2
3
4
shell > printf "someuser:`openssl passwd -apr1`\n"
Password:
Verifying - Password:
someuser:$apr1$7xVW3W85$y2M/Ll0Fv/2YDbuV3PCrC1

Paste that into htpasswd file

This post is licensed under CC BY 4.0 by the author.