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 [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to