RE: htpasswd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx]
Sent: sexta-feira, 16 de Maio de 2008 15:59
To: users@xxxxxxxxxxxxxxxx
Subject: 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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux