[Mailman-Users] activate under same user as apache - was[ remove_members by other users[

Ben-Nes Michael miki at canaan.co.il
Wed Oct 3 10:43:17 CEST 2001


Is there any security problems in using same user for apache and mailman ?

----- Original Message -----
From: "Szilard Vizi" <vizisz at freemail.hu>
To: "Ben-Nes Michael" <miki at canaan.co.il>; "Mailman-Users"
<mailman-users at python.org>
Sent: Tuesday, October 02, 2001 1:28 PM
Subject: Re: remove_members by other users


> Ben-Nes Michael <miki at canaan.co.il> wrote:
>
> > I need to be able executing remove_members by other users ( like
> > nobody )
>
> Maybe I can give you a trick.
> Generate a list of the members who you want to delete from the list
> as the "other user" and dump it to a text file which is readable and
> writable for Mailman.
>
> Save this script into your Mailman/bin/ dir as delete.sh:
>
> #!/bin/bash
>  if [ -f /tmp/unwanted_members.txt ]; then
>        ~/bin/remove_members -f  /tmp/unwanted_members.txt listname
>        rm -rf /tmp/unwanted_members.txt
>  fi
>
> And run this script from the Mailman's crontab entry. Eg. if you
> want to syncronize your memberlist every day 5 am:
>
>   0 5 * * * /home/mailman/bin/delete.sh
>
> That is all.
>
> Szilard Vizi
> -------------
> mailto:vizisz at freemail.hu             UIN:10676592
>





More information about the Mailman-Users mailing list