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

Bug#315849: htpasswd: correct cmd line ignored



On Sun, Jun 26, 2005 at 02:26:15PM +0200, Olaf wrote:
> Package: apache2-utils
> Version: 2.0.54-4
> 
> 
> when I say "echo foo | htpasswd -b -c htpasswd olaf", i see the usual 
> "usage:" stuff. According to the man page and "htpasswd -?" this should 
> work.
> 

Well, the manpage and the interactive help claim that the '-b' switch
will make htpasswd "get the password from the command line rather than 
prompting for it". The example you submitted does _not_ give the username
and password on the command line but on standard input!
Try "htpasswd -b -c htpasswd olaf foo" - this should work (it does here).

 HTH Ralf Mattes
> 
> -- 
> To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org



Reply to: