Re: [Mailman-Users] [bug in mm2.1] mailmanctl doesn't set groups.
At 16:51 01/07/2003, Jonas Meurer wrote:
*** PGP Signature Status: unknown *** Signer: Unknown, Key ID xE25F2102 *** Signed: 01/07/2003 16:51:57 *** Verified: 01/07/2003 17:56:42 *** BEGIN PGP VERIFIED MESSAGE ***
the mailmanctl script doesn't set groups. so when i run mailmanctl as root, i become list:list but still have the groups that root has. that's a grave security bug.
I think not. I believe you are mistaking the meaning of the output from
On 01/07/2003 Richard Barrett wrote: the
id command you are running. The group affiliations of the process do not mean that the uid in the output has privileges of those groups. Just try getting the code in the ArchRunner.py to modify a file owned by root with no write privileges for other when mailmanctl has ben started by root to see what I mean. The process will only have the privileges associated with the uid/euid and gid/egid.
ok, i believe that,
You should not have because your first assessment looks to be correct. I tried it for real and found you were right.
At a quick glance, it appears as though your proposed bug fix is the only convenient way of resolving using Python.
Try again to put the fix into sourceforge bug collector for MM.
but it's still a bug. add user list (running mailman) to a group (i.e. testgroup), and try to modify a file owned by someone.testgroup with write privileges only for group (and user if you want). that's exactly why i found that bug. the user (list) that runs my external archiver (lurker) has to be in group lurker.
bye mejo
ps: i'm not subscribed to mailman-developers
-- Efficiency and progess is ours one more Now that we have the Neutron bomb It's nice and quick and clean and gets things done Kill kill kill kill kill the poor tonight
*** END PGP VERIFIED MESSAGE ***
Richard Barrett http://www.openinfo.co.uk
On 01/07/2003 Richard Barrett wrote:
Try again to put the fix into sourceforge bug collector for MM.
sorry, still doesn't work. i get an Error: "The requested URL could not be retrieved" (and much more output).
bye mejo
-- Efficiency and progess is ours one more Now that we have the Neutron bomb It's nice and quick and clean and gets things done Kill kill kill kill kill the poor tonight
participants (2)
-
Jonas Meurer
-
Richard Barrett