Displaying 2 results from an estimated 2 matches for "allow_zero_gid".
2003 Apr 15
1
PATCH allow_zero_gid option
Hey,
Well, that was easy :-) Patch against CVS follows:
Summary:
Created a boolean option allow_zero_gid, when set to yes it will allow
logins from users whose group id is zero. Tested with KMail 3.1.1 on
FreeBSD 4.8. I'm not sure if my method for passing the boolean via the
environment is correct, it looks a little on the ugly side.
Index: src/lib/restrict-access.c
===========================...
2003 Apr 15
0
Group ID validation and FreeBSD
...the wheel group are allowed to use su and become root.
Consequently there are non-root users who have group id's of 0. When you
try and open the mailbox of such a user with Dovecot the connection is
killed immediately.
It would be excellent to have an option in dovecot.conf along the lines
of allow_zero_gid which would disable these checks. From a quick look at
the source I can see that the validation is being done in
src/master/mail-process.c and that src/lib/restrict-access.c is also
involved. If I can get a working patch ready quickly I'll pass it along.
If anyone would like to take a look at...