[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    
From:       Zhouhuai Shen <shenzhounz () hotmail ! com>
Date:       2016-04-27 9:07:49
Message-ID: TY1PR0301MB10389A89F44F8A02DE69CEC6C3640 () TY1PR0301MB1038 ! apcprd03 ! prod ! outlook ! com
[Download RAW message or body]

>>Zhouhuai Shen <shenzhounz@hotmail.com> 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 (dest=
roy).
--
> Wes Hardaker Parsons


Thanks?


This can destroy the user certainly.

However I still have a question regarding the user type being set to NONVOL=
ATILE once the user is created. If the snmpd is restarted, a call to snmp_s=
hutdown() will actually save the user into the permanent location, e.g. int=
o snmpd.conf. After the user is deleted, e.g. via a user command, as this u=
ser is still persistent in the config file, I can still retrieve the delete=
d user via the usmUserTable if snmpwalk is on the usmUserSecurityName MIB v=
ariable.

Best Regards.
Henry

[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} \
--></style> </head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; \
background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif"> <p><font \
size="2"><span style="font-size:10pt;"><font size="2"><span \
style="font-size:10pt;">&gt;</span></font><font size="2"><span \
style="font-size:10pt;">&gt;</span></font>Zhouhuai Shen \
&lt;shenzhounz@hotmail.com&gt; writes:<br> <br>
&gt;&gt; When I have created a snmpv3 user, looks like the user's type was set<br>
<font size="2"><span style="font-size:10pt;">&gt;</span></font>&gt; to NONVOLATILE. \
As a result of this, the next snmpd restart will save<br> &gt;<font size="2"><span \
style="font-size:10pt;">&gt;</span></font> this user to a non-volatile config file -- \
snmpd.conf. This user will</span></font><font size="2"><span \
style="font-size:10pt;"></span></font></p> <p><font size="2"><span \
style="font-size:10pt;"><font size="2"><span \
style="font-size:10pt;">&gt;</span></font><font size="2"><span \
style="font-size:10pt;">&gt;</span></font><font size="2"><span \
style="font-size:10pt;"></span></font>be persistent forever.&nbsp; Does anyone  know \
why and how I can delete the</span></font></p> <p><font size="2"><span \
style="font-size:10pt;">&gt;<font size="2"><span \
style="font-size:10pt;">&gt;</span></font> user if I have to?<br> <br>
<font size="2"><span style="font-size:10pt;">&gt;</span></font>Yep, perform an SNMP \
                set the usmUserStatus column for that user to 6 (destroy).<br>
-- <br>
<font size="2"><span style="font-size:10pt;">&gt;</span></font> Wes Hardaker </span>
</font><font size="2"><span style="font-size:10pt;">Parsons</span></font></p>
<p><br>
</p>
<p>Thanks&#12290;</p>
<p><br>
</p>
<p>This can destroy the user certainly.<br>
<br>
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.<br> <br>
Best Regards.<br>
Henry<br>
</p>
</div>
</body>
</html>


[Attachment #4 (--===============7592441084342756678==)]
------------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic