Kai Schaetzl <maillists@...> wrote:
> > #ifdef HAVE_INITGROUPS
> > if (initgroups(conf.c_user, pw->pw_gid) != 0) {
> > syslog(LOG_ERR, "%s: cannot change "
> > "supplementary groups: %s\n",
> > argv[0], strerror(errno));
> > exit(EX_OSERR);
> > }
> > #endif
>
> Question: is it necessary at all? Isn't the first group sufficient? Well,
> probably a dumb question, but I don't know much about this ;-)
Well it's not nescessary, since it's ifdef'ed. You can tweak config.h to
remove HAVE_INITGROUPS. For a right fix, I'm tempted to turn it into a
warking, but I'd like an input from others. Why do we need initgroups?
--
Emmanuel Dreyfus
Le cahier de l'admin BSD 2eme ed. est dans toutes les bonnes librairies
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@...Message
Re: [milter-greylist] Compile problem on CentOS 4.2
2006-03-29 by manu@netbsd.org
Attachments
- No local attachments were found for this message.