Instantly share code, notes, and snippets.
htpasswd -nb <username> <password>
or
echo <username>:$(openssl passwd -apr1 <password>)