Persistent snmpd.conf appended with same user initilization on each boot

Gerrit Avenant <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <HE1PR04MB168937BBE7E2F33120C94FE883710@HE1PR04MB1689.eurprd04.prod.outlook.com>
I am using net-snmp 5.7.3 on an embedded linux platform. I have added the createUser directive in the persistent snmpd.conf

Each time I startup the system/ or restart the daemon, the snmpd file is appended with the default persistent snmpd.conf headers, and then another copy of the user I wanted to create.

I suspect that it is due to the fact that my persistent snmpd file is initialy just a blank file with the createUser directive. I am trying to create a setup that will require the least local user interaction (for example having to edit the persistent snmpd.conf file to create a user), and therefore would like the initial user to be setup at first boot.

Any tips/ideas welcome.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
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.