You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Ling F. Zhang" <li...@yahoo.com> on 2002/05/22 00:55:37 UTC
form to change passwd
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
Re: form to change passwd
Posted by Daniel Lopez <da...@rawbyte.com>.
Use a newer htpasswd version :)
Download and compile a new Apache and use that htpasswd, they should be
compatible. In any case, you should upgrade your Apache version is possible,
1.3.3 is ancient and all kind of problems, including security ones that have been
fixed since then
> 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 <da...@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
Apache 2.0.36 and mod_auth_ldap
Posted by "James L. Morris" <jm...@grn.georet.net>.
Help!
As part of my configure script I have:
--enable-mod_auth_ldap.c \
Doesn't show up in the httpd -l .....??
Anyone know of a fix for this?
Thanks!
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: form to change passwd
Posted by "Ling F. Zhang" <li...@yahoo.com>.
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 <da...@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
Re: form to change passwd
Posted by Daniel Lopez <da...@rawbyte.com>.
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org