Thanks.. it is done! On Fri, May 16, 2008 at 8:39 PM, Luis Moreira <[EMAIL PROTECTED]> wrote:
> 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:[EMAIL PROTECTED] > *Sent:* sexta-feira, 16 de Maio de 2008 15:59 > *To:* [email protected] > *Subject:* [EMAIL PROTECTED] 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 > >
