Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#448754: /usr/bin/htpasswd: please give batchable option

From: Marc Haber <mh+debian-bugs(at)zugschlus.de>
Date: Wed Oct 31 2007 - 13:11:28 EDT


On Wed, Oct 31, 2007 at 05:13:00PM +0100, Stefan Fritsch wrote:
> htpasswd is missing a feature there to get the password from a file
> descriptor.

Or from a pipe. This is an upstream issue, can you pass it onwards?

> What the manpage means is probably that one should use -b only when
> necessary. From a shell script the use of -b might be acceptable
> because the password will not be put into .bash_history and htpasswd
> runs only for a very short time (so it's difficult to get the
> password with ps).

It is still ugly.

> A real workaround would be to feed the password to htpasswd with socat
> (search for ssh in the socat man page for an example), but this is
> IMHO not suitable for a postinst because of the added dependency.

And it is even more ugly.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190



-- 
To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Oct 31 13:13:04 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:58:40 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library