2009/3/31 Kang Chen <[email protected]>:
> at first, I configure the command createUser leelin MD5 "hellokit" DES
> "privpass"
> in the snmpd.conf in /usr/local/share/snmp directory
$ man snmpd.conf
SNMPv3 Users
createUser [-e ENGINEID] username (MD5|SHA) authpassphrase
[DES|AES] [privpassphrase]
===> This directive should be placed into the
/var/net-snmp/snmpd.conf file instead of the
other normal locations. The reason is that the
information is read from the file and then
the line is removed (eliminating the storage of the
master password for that user) and
replaced with the key that is derived from it.
> Now I find, after the snmpd thread is killed, the other snmpd.conf will be
> created in
> /var/net-snmp directory include the command: usmUser .....
which is what the snippet above is referring to.
> but after I remove this [createUser] command, the mibbrowser still can
> access the agent.
The agent has tried to perform the processing described above, but with only
limited success. It's managed to write out the 'usmUser' line (which
was meant to
replace the original createUser entry), but it couldn't remove the redundant
createUser line, because this was in the wrong file.
You've actually now completed this processing by removing the line manually.
Dave
------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders