[Mailman-Users] cgi user

Dave Filchak dfilchak at sympatico.ca
Sat Dec 6 22:30:07 CET 2003

Ah ha ... yes I'll give that a try.



-----Original Message-----
From: mailman-users-bounces+dfilchak=sympatico.ca at python.org
[mailto:mailman-users-bounces+dfilchak=sympatico.ca at python.org]On Behalf
Of Todd
Sent: December 6, 2003 2:42 PM
To: mailman-users at python.org
Subject: Re: [Mailman-Users] cgi user

*** PGP Signature Status: unknown
*** Signer: Unknown, Key ID = 0xD654075A
*** Signed: 06/12/2003 2:42:07 PM
*** Verified: 06/12/2003 4:25:59 PM

Dave Filchak wrote:
> At this point, I am using the default install of Mailman that came with
> RedHat 9 and have updated the rpms to the latest RedHat release. However,
> have always ran apache as another user other than the default apache. So
> naturally, when I try to go to the initial default mailman list that I set
> up while doing the initial setup and config of Mailman, I get the error :
> Group mismatch error. Mailman expected the CGI wrapper script to be
> executed as one of the following groups:
> [apache],
> but the system's web server executed the CGI script as group: "webadmin".
> Try tweaking the web server to run the script as one of these groups:
> [apache],
> or re-run configure providing the command line option:
> '--with-cgi-gid=webadmin'.
> So my question is, other than re-installing Mailman from source, is there
> way to:
> A: change a config option in the current installation to allow this to
> execute cgi as user webadmin or
> B: re-install from RPM using an install option --with-cgi-gid=webadmin

I don't think so, but rebuilding the rpm is simple enough and will
keep all the settings except the cgi-gid setting exactly like your
current rpm install.  Just grab the mailman-2.1.1-4.src.rpm (or
whatever version you have) and install it, which puts the spec file in
/usr/src/redhat/SPECS/mailman.spec if you do this as root (you'll know
where it goes if you've customized rpm to install source rpms as a
normal user).

Then edit the spec file to change the cgiuser and cgigroup settings
near the top of the spec file, increment the Release field, update the
changelog (optional, but useful when you want to remember why you have
a different rpm installed than what redhat's shipping), and rebuild
using rpmbuild -ba /path/to/mailman.spec.

Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
Tax reform is taking the taxes off things that have been taxed in the
past and putting taxes on things that haven't been taxed before.
    -- Art Buchwald


Mailman-Users mailing list
Mailman-Users at python.org
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: dfilchak at sympatico.ca
Unsubscribe or change your options at

More information about the Mailman-Users mailing list