(unknown)

Zhouhuai Shen <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <TY1PR0301MB10389A89F44F8A02DE69CEC6C3640@TY1PR0301MB1038.apcprd03.prod.outlook.com>
>>Zhouhuai Shen <[email protected]> writes:

>> When I have created a snmpv3 user, looks like the user's type was set
>> to NONVOLATILE. As a result of this, the next snmpd restart will save
>> this user to a non-volatile config file -- snmpd.conf. This user will

>>be persistent forever.  Does anyone know why and how I can delete the

>> user if I have to?

>Yep, perform an SNMP set the usmUserStatus column for that user to 6 (destroy).
--
> Wes Hardaker Parsons


Thanks?


This can destroy the user certainly.

However I still have a question regarding the user type being set to NONVOLATILE once the user is created. If the snmpd is restarted, a call to snmp_shutdown() will actually save the user into the permanent location, e.g. into snmpd.conf. After the user is deleted, e.g. via a user command, as this user is still persistent in the config file, I can still retrieve the deleted user via the usmUserTable if snmpwalk is on the usmUserSecurityName MIB variable.

Best Regards.
Henry

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

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