Re: [Mailman-Users] mailman on freeBSD 8.2: getgrgid error [solved]

2011-08-04 Thread Rekhesh Mohan
On 03/08/2011 Mark wrote > Rekhesh Mohan wrote: > >Now here is something that spoiled my sleep: I wrote a small test > >program to call getgrgid(), and it prints getgrgid()->gr_name = www. > >When I added a print statement inside common.c, I get > >getgrgid()->gr_name = null (it goes to http error

Re: [Mailman-Users] mailman on freeBSD 8.2: getgrgid error

2011-08-03 Thread Rekhesh Mohan
On Wednesday, August 03, 2011 01:52:23 PM Mailman Admin wrote: > Hello Rekhesh Mohan > > On 08/03/2011 08:23 AM, Rekhesh Mohan wrote: > > I can now confirm that issue is with system/OS security and not > > with mailman. getgrgid()->gr_name returns meaningful value only if > > a member of "wheel" g

Re: [Mailman-Users] mailman on freeBSD 8.2: getgrgid error

2011-08-03 Thread Mailman Admin
Hello Rekhesh Mohan On 08/03/2011 08:23 AM, Rekhesh Mohan wrote: > > I can now confirm that issue is with system/OS security and not with > mailman. getgrgid()->gr_name returns meaningful value only if a member > of "wheel" group calls it. I added my apache-user "www" to wheel group > (his pr

Re: [Mailman-Users] mailman on freeBSD 8.2: getgrgid error

2011-08-02 Thread Rekhesh Mohan
On Wednesday, August 03, 2011 02:06:50 AM Mark Sapiro wrote: > Rekhesh Mohan wrote: > >Now here is something that spoiled my sleep: I wrote a small test > >program to call getgrgid(), and it prints getgrgid()->gr_name = www. > >When I added a print statement inside common.c, I get > >getgrgid()->g

Re: [Mailman-Users] mailman on freeBSD 8.2: getgrgid error

2011-08-02 Thread Mark Sapiro
Rekhesh Mohan wrote: > >Now here is something that spoiled my sleep: I wrote a small test >program to call getgrgid(), and it prints getgrgid()->gr_name = www. >When I added a print statement inside common.c, I get >getgrgid()->gr_name = null (it goes to http error log, since http >headers are

Re: [Mailman-Users] mailman on freeBSD 8.2: getgrgid error

2011-08-02 Thread Rekhesh Mohan
On 01/08/2011 Mark wrote > Rekhesh Mohan wrote: > >AFAIK, src/common.c is checking the GID with getgid() followed by > >getgrgid(). Now, my machine uses blowfish instead of md5 for passwd. > >getgid() is returning 80 - which is fine since i have gid(www) = 80 > >on my system. However, getgrgid(gid

Re: [Mailman-Users] mailman on freeBSD 8.2: getgrgid error

2011-08-01 Thread Mark Sapiro
Rekhesh Mohan wrote: > >AFAIK, src/common.c is checking the GID with getgid() followed by >getgrgid(). Now, my machine uses blowfish instead of md5 for passwd. >getgid() is returning 80 - which is fine since i have gid(www) = 80 on my >system. However, getgrgid(gid) returns null :-| I gave up m

Re: [Mailman-Users] mailman on freeBSD 8.2: getgrgid error

2011-08-01 Thread Rekhesh Mohan
On 01/08/2011 Odhiambo Washington wrote > What is the output of this command on your system: > > grep www /etc/group Here is the output: [root@foo ~]# grep www /etc/group www:*:80:www [root@foo ~]# Thanks! --R > > On Sun, Jul 31, 2011 at 23:27, Rekhesh Mohan wrote: > > Hi folks, > > I've

[Mailman-Users] mailman on freeBSD 8.2: getgrgid error

2011-08-01 Thread Rekhesh Mohan
Hi folks, I've been fiddling with mailman 2.1.14 (from freebsd ports) on free BSD 8.2. Everything seems to be fine so far except for the web based stuff. I get the following error when I try to access the page: http://this.great.site/mailman/listinfo --- Mailman CGI error!!! The