On 07/08/07, Shaun Hofer <[EMAIL PROTECTED]> wrote:
> I've worked out that for some reason the [snmpd] process is not inheriting
> the group misc, even thou the user snmp is definly part of it.

That's probably correct.
There was a patch applied to the main development branch fairly recently,
which addresses this issue.  See
   
http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/trunk/net-snmp/agent/snmpd.c?r1=16375&r2=16437&pathrev=16437

for the relevant code changes.

Note that the actualy patch also amended the configure environment, to detect
and define the HAVE_INITGROUPS token.  But if you're applying this to your
own copy of the code, then it's probably simpler to omit this particular test,
and just work with
    #if HAVE_GETPWNAM && HAVE_PWD_H

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to