Hello everyone. I've looked for this question but can't find it in the mailing list archive. So, if there is an answer in a old thread, point to me... I'm using the httpd authentication (.htaccess and .htpasswd) for an cgi-bin/test dir. What I'm trying to do is another cgi (in shell script) that changes this file (cgi-bin/test/.htpasswd). I'm using the -m parameter in htpasswd to create the users. # cat .htpasswd admin:$apr1$DXEZZ/..$EuDQbwbv3Wmf1QKe.leZd0 # The user is admin and the password is admin. How can I encrypt the string "admin" to compare with the string in the .htpasswd? regards, -- Rodrigo Monteiro "Free as in Freedom, not free as in free beer" Linux User # 403730 JID: mrodrigom@xxxxxxxxxx mrodrigox@xxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx