htpasswd


There often emerges need to obtain version of password encoded by 'crypt()' algorithm.

htpasswd is a small program which enables it. We use it in the following way:

maciej@mgmt:~$ htpasswd -n login
New password:
Re-type new password:
login:$apr1$DWhj3Tsb$lyapRC3TJB.kj35xYlIHP/

$apr1$DWhj3Tsb$lyapRC3TJB.kj35xYlIHP/ is an encoded password.

Passwords in this form are required ie. in securing access to WWW pages.