--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: /usr/bin/htpasswd: please give batchable option
- From: Marc Haber <mh+debian-bugs@zugschlus.de>
- Date: Wed, 31 Oct 2007 16:19:52 +0100
- Message-id: <20071031151952.28015.38835.reportbug@scyw00225.scy001.de>
Package: apache2-utils
Version: 2.2.6-2
Severity: normal
File: /usr/bin/htpasswd
Hi,
the man page for htpasswd discourages use of -b, because the password
is visible on the command line. That's ok.
However, how is one supposed to set a htpasswd password from a shell
script (like a package postinst) if -b is discouraged? Piping a
password to htpasswd does not seem to work either.
Please advise and document.
Greetings
Marc
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.23.1-scyw00225 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apache2-utils depends on:
ii libapr1 1.2.11-1 The Apache Portable Runtime Librar
ii libaprutil1 1.2.7+dfsg-2+b1 The Apache Portable Runtime Utilit
ii libc6 2.6.1-6 GNU C Library: Shared libraries
ii libdb4.4 4.4.20-11 Berkeley v4.4 Database Libraries [
ii libexpat1 1.95.8-4 XML parsing C library - runtime li
ii libldap2 2.1.30.dfsg-13.5 OpenLDAP libraries
ii libpcre3 7.3-2 Perl 5 Compatible Regular Expressi
ii libpq5 8.2.5-2 PostgreSQL C client library
ii libsqlite3-0 3.4.2-2 SQLite 3 shared library
ii libssl0.9.8 0.9.8g-1 SSL shared libraries
ii libuuid1 1.40.2-1 universally unique id library
apache2-utils recommends no packages.
-- no debconf information
--- End Message ---