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

[vps-mail] Coding Question re Mailman script



Scott,

I've run into a problem with coding a script concerning
mailman, and I'm starting to think it's a unique VPS issue.

Here is what I am doing:

I want to use a Mailman list to provide the user names and
passords for http authentication on a particular site.

There is a script in the FAQ's for Mailman to export the
Mailman username/password for a specific list to a
designated .htpasswd file.

There is line in the script as follows:
htpasswd -b ~/var/tmp/.htpasswd.$LIST $i $PASS

The variables are working fine - so you don't have to worry
about them.

My problem is that when I run it, I get this error message:

> Usage: htpasswd [-cm] passwordfile username
> The -c flag creates a new file.
> The -m flag forces MD5 encryption of the password.

I suspect that the Verio version of htpasswd has been
modified in some way to disallow the batch mode [-b] flag.
(See http://httpd.apache.org/docs/programs/htpasswd.html for
a list of all options).

Am I correct?

If so, is there a way to enable this?

I realize that the batch mode is not considered secure, but
Mailman passwords are sent out unencrypted, so security is
not much of an issue here. We're not guarding the crown
jewels; we simply want a rudimentary level of protection.

Anyway, I'd appreciate whatever help you can give.

-Abigail

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: