From: Robert Story <[EMAIL PROTECTED]> > On Thu, 01 Dec 2005 12:52:48 -0500 [EMAIL PROTECTED] wrote: > CRC> > The agentgroup has been processed, but that only 'remembers' > CRC> > the value. It isn't used until later, and unfortunately > CRC> > 'later' is after it has done the initial persistent store > CRC> > save, which is why you see the current behavior. You could > CRC> > try patching snmpd.c to move the groupid change right before > CRC> > the snmp_store(), and see if that helps. > CRC> > CRC> Synchronicity! I'd just found the same thing. It's patch > CRC> 1371078 on SourceForge. > > Can anyone think of any objections to changing the group earlier? > > - It's new behaviour > - It will change the ownership of files created by the agent (thus > possibly reducing the security of the agent; eg exposing info, non- > root users being able to change config)
But only if agentgroup and/or agentuser are defined in configuration (or -g or -u are specified on the command line), right? It's no _more_ exposed than it was and it's more consistent. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
