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 particular user from old_pass to $new_pass. How can this be
> done through the script, without getting the prompt to "Type new password"?
>
> Any help ASAP is very much appreciated.
> Thanks..
> Shuba
>
>   ------------------------------------------------------------
>                   Name: winmail.dat
>    winmail.dat    Type: application/ms-tnef
>               Encoding: base64

--
--------------------------------------------------------------

 <!-- Todd Caine - [EMAIL PROTECTED]
  4400 NE 77th Avenue
  Vancouver, WA 98662
  Direct Dial: (360) 816-4344  //-->

--------------------------------------------------------------


Reply via email to