[Mailman-Users] cgi user

Todd Freedom_Lover at pobox.com
Sat Dec 6 20:42:08 CET 2003

Hash: SHA1

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, I
> 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 a
> 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

Version: GnuPG v1.2.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.


More information about the Mailman-Users mailing list