RTFM. Use the -b flag to htpasswd.
Shuba Simha wrote:
> Can anybody tell me if there is any way to add an entry into ".htpasswd"
> from a perl script, without getting prompted for the password? Meaning..I
> have the password in a variable(say $new_pass), & want to change the
> password of a p
Look into HTTPD::UserAdmin and HTTPD::GroupAdmin modules from
CPAN.
--Original Message--
From: "Shuba Simha" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: August 14, 2000 4:16:17 PM GMT
Subject: Adding an entry into .htpasswd
Can anybody tell me if there is a
CPAN is your friend:
http://search.cpan.org/doc/KMELTZ/Apache-Htpasswd-1.3/Htpasswd.pm
On 14-Aug-2000 Shuba Simha wrote:
> Can anybody tell me if there is any way to add an entry into ".htpasswd"
> from a perl script, without getting prompted for the password? Meaning..I
> have the password in
Can anybody tell me if there is any way to add an entry into ".htpasswd"
from a perl script, without getting prompted for the password? Meaning..I
have the password in a variable(say $new_pass), & want to change the
password of a particular user from old_pass to $new_pass. How can this be
done t