You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by iy...@sahasrasolutions.com on 2005/09/13 12:40:58 UTC

[users@httpd] Regarding htpasswd

hi,



What we are facing is
1. I have encrypted file  created by using this command

    htpasswd -c -m -b filename username password

The output was stored in file.

admin:$apr1$g3X.i/..$NZYMsYERfm1obRrWUy9aq.

I found out admin is username.

I want to validate the user admin and encrypted password against my
plaintext password

I am getting the input as

username xxx
password (which is plain text like "linux")

can I know How to   validate in perl or  c?.

Thanks and regards,
Iyappan




---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Regarding htpasswd

Posted by Michael Wallner <mi...@iworks.at>.
Hi iyappans@sahasrasolutions.com, you wrote:


> 1. I have encrypted file  created by using this command
> 
>     htpasswd -c -m -b filename username password
> 
> The output was stored in file.
> 
> admin:$apr1$g3X.i/..$NZYMsYERfm1obRrWUy9aq.

> can I know How to   validate in perl or  c?.

There should be something like Crypt::APR in CPAN,
and there's PEAR::File_Passwd for PHP.

Regards,
Michael


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org