I am using root credential to do all these so no issues with permissions.
I have changed these two files

/usr/local/share/snmp/snmpd.conf     ( added   "rwuser  ravi  auth system" )
/var/net-snmp/snmpd.conf                 ( added "createUser ravi  MD5
 mypass123"   and then started snmpd)

The snmpd was not running when i modified above files.
Used following to start snmpd after that.

./snmpd -c /usr/local/share/snmp/snmpd.conf,/var/net-snmp/snmpd.conf

I found following warnings while starting snmpd

/var/net-snmp/snmpd.conf: line 50: Warning: Unknown token: engineBoots.
/var/net-snmp/snmpd.conf: line 51: Warning: Unknown token: oldEngineID.

Thanks,,,,,,,,,,,,




On Tue, Mar 20, 2012 at 8:55 PM, Robert Story <rst...@freesnmp.com> wrote:
> On Tue, 20 Mar 2012 14:12:41 +0530 Ravi wrote:
> RK> moreover createuser commands is not getting replaced by key in
> RK> persistent snmpd.conf after restarting snmpd (as per snmpv3
> RK> documentation).
> RK>
> RK> createUser ravi  MD5 mypass
>
> Are you stopping snmpd before editing the snmpd.conf file? If so, and it's not
> changing, the either you don't have permissions, or you are editing the wrong
> file.

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to