net-snmp-5.5-37 v3 users conf file
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <51EDCB231B325144931CBA1DB590BEC705A783A172@APACSNCEXMB1.corp.nai.org> |
Hi, We are using net-snmp-5.5-37 and facing issue in configuring v3 users file. So to create the v3 users we don't use net-snmp command, instead we create v3 users file from our application and place it as /var/lib/net-snmp/snmpd.conf. This file contains the createUser entries along with the engine id. The issue we are facing is once we copy the snmpd.conf (inside /var/lib/net-snmp) and restart the snmpd daemon then net-snmp is overwriting our file with some other file, it looks like below:- # # net-snmp (or ucd-snmp) persistent data file. # ############################################################################ # STOP STOP STOP STOP STOP STOP STOP STOP STOP # # **** DO NOT EDIT THIS FILE **** # # STOP STOP STOP STOP STOP STOP STOP STOP STOP ############################################################################ # # DO NOT STORE CONFIGURATION ENTRIES HERE. # Please save normal configuration tokens for snmpd in SNMPCONFPATH/snmpd.conf. # Only "createUser" tokens should be placed here by snmpd administrators. # (Did I mention: do not edit this file?) # I am not sure if this the normal behaviour or do we need to do something in configuration to prevent this? Or we are doing something terribly wrong. Thanks, Pavan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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