Discussion:
How to clean USM config
徐 勇
2017-02-22 15:33:54 UTC
Permalink
Hi,


I used Net-SNMP in my project, and I found that when I had added an snmpv3 user by snmpd.conf (createUser directive), I cannot change the auth/priv password of the user by updating snmpd.conf, even have a restarting the snmpd process.


And then I found this is caused by the usm lists. it seems a global usm lists is used to stored the password, and the list is not belong to snmpd. Even when I stop snmpd, or delete the v3 user, I can get the system usm record which is added by the createUser directive ( I use snmp-walk on 1.3.6.1.6.3.15.1.2.2.1 for checking this).


I know snmpusm tool can update the usm password, but that tool need another RW v3 user. I'm wondering if there's a convenient method to modify the password of an existed v3 user, or delete/cleanup the exited usm list ?


Thanks

Yong
Rajmohan Banavi
2017-03-03 14:23:47 UTC
Permalink
If you want to delete the existing v3 user list, then you can
delete/move/rename the persistent snmpd.conf file (typically in
/var/net-snmp/ folder) which contains the hashed list of the users.
Post by 徐 勇
Hi,
I used Net-SNMP in my project, and I found that when I had added an snmpv3
user by snmpd.conf (createUser directive), I cannot change the auth/priv
password of the user by updating snmpd.conf, even have a restarting the
snmpd process.
And then I found this is caused by the usm lists. it seems a global usm
lists is used to stored the password, and the list is not belong to snmpd.
Even when I stop snmpd, or delete the v3 user, I can get the system usm
record which is added by the createUser directive ( I use snmp-walk on 1.3.6.1.6.3.15.1.2.2.1
for checking this).
I know snmpusm tool can update the usm password, but that tool need
another RW v3 user. I'm wondering if there's a convenient method to modify
the password of an existed v3 user, or delete/cleanup the exited usm list ?
Thanks
Yong
------------------------------------------------------------
------------------
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
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Loading...