[Mailman-Users] Re: Using mailman with the secure-linux kernel patch
marc_news at valinux.com
Thu Oct 19 19:35:14 CEST 2000
[mailman-developers at python.org Cced in case they want to add my python
script to the tree, but followup set to mailman-users at python.org]
On Thu, Oct 05, 2000 at 10:19:13AM -0700, Marc MERLIN wrote:
> I wanted to have mailman run on my servers that have the secure-linux kernel
> patch. I ended up writing a small shell script that changed permissions so
> that scripts ran as UID mailman (by making sure that scripts that lock
> config.db do so with UID mailman).
> I later realized that python doesn't seem to have a suidpython wrapper like
> perl does, so I scrapped the shell script and attempted to put a few lines
> of python together to modify some scripts in mailman/bin so that they change
> their uid to mailman if root runs them or complain that they can't run
> unless their uid is mailman.
My old version forgot to do a chown mailman before chmod 4755. Duh!
The new version, which I'm not pasting here again fixes this:
If you try out this script on your system, please drop me a line by Email to
let me know if all works fine for you
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f at merlins.org for PGP key
More information about the Mailman-Users