httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Moreira <luis.more...@esi.pt>
Subject RE: [users@httpd] htpasswd
Date Fri, 16 May 2008 15:09:29 GMT
It asks for usage because you are using it wrong.

 

If you specify “-c” option you are saying you are going to create a new
file.

But you must at the same time enter the first user it will contain

 

/usr/local/apache2/bin/htpasswd -c passwdfile first-user

 

Then it will ask for the password.

 

After that, just enter the file and the user and a new user will be added


/usr/local/apache2/bin/htpasswd  passwdfile  second-user

 

 

Luis Moreira 
Analista 
E. S. Informática 
Gestão de Sistemas, Qualidade e Produção
Comunicação de Dados e Segurança



 

  _____  

From: sakthi v [mailto:listsakthi@gmail.com] 
Sent: sexta-feira, 16 de Maio de 2008 15:59
To: users@httpd.apache.org
Subject: [users@httpd] htpasswd

 

Hello,

htpasswd is not working , what ever option i give it provides usage
options.,,

/usr/local/apache2/bin/htpasswd -c passwdfile

Usage:
        htpasswd [-cmdpsD] passwordfile username
        htpasswd -b[cmdpsD] passwordfile username password
.....................................................................
       ....................................................... etc

strange ?! i tried almost options but always it gives usage.

regards
SK




Mime
View raw message