htpasswd

The purpose of this document is to explain some uses of htpasswd.

mkdir /etc/htpasswd touch /etc/htpasswd/.htpasswd && chmod 644 /etc/htpasswd/.htpasswd htpasswd -b -s -c /etc/htpasswd/.htpasswd '<username>' '<password>'

[Edit]