httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ling F. Zhang" <lingfe...@yahoo.com>
Subject Re: form to change passwd
Date Wed, 22 May 2002 21:07:02 GMT
yes, I do know that.  The problem is I am using a
really old version of apache 1.3.3, which when I use
the command ./htpasswd, does not have the option -b
anyone know any work around?

--- Daniel Lopez <daniel@rawbyte.com> wrote:
> Ling,
> 
> You just need to read the docs, the -b allows you to
> pass it as a command line
> argument:
> 
> 
> [daniel@enroque daniel]$
> /usr/local/apache/bin/htpasswd
> Usage:
> htpasswd [-cmdps] passwordfile username
> htpasswd -b[cmdps] passwordfile username password
> 		
> 		        htpasswd -n[mdps] username
> 			        htpasswd -nb[mdps] username password
> 				 -c  Create a new file.
> 				  -n  Don't update file; display results on
> stdout.
> 				   -m  Force MD5 encryption of the password.
> 				    -d  Force CRYPT encryption of the
> password (default).
>  -p  Do not encrypt the password (plaintext).
>   -s  Force SHA encryption of the password.
>    -b  Use the password from the command line rather
> than prompting for it.
>    On Windows, NetWare and TPF systems the '-m' flag
> is used by default.
>    On all other systems, the '-p' flag will probably
> not work.
> 
> On Tue, May 21, 2002 at 03:55:37PM -0700, Ling F.
> Zhang wrote:
> > I use .htaccess and .htpasswd to authenicate user.
> 
> > Some user now require me to put up a form that can
> > allow them to change password.  I have no idea how
> to
> > do that.
> > I tried generating a file with lines like:
> > passwdfile.txt:
> > >oldpasswd
> > >newpasswd
> > >newpasswd
> > 
> > and did a "htpasswd .htpasswd username <
> > passwdfile.txt"
> > 
> > doesn't work at all!!
> > 
> > This is important.  Please help!
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > LAUNCH - Your Yahoo! Music Experience
> > http://launch.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail:
users-help@httpd.apache.org


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message