Re: snmpd group rights/permissions

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.