On Tue, 2005-06-28 at 15:03 -0700, Fong Tsui wrote: > FT>> When removing a v3 user, we need to remove the user from both > FT>> [config] files. > > DS> Delete the user from the usmUserTable (usmUserStatus.xxx = 6) > DS> When the agent next shuts down, it will re-write the persistent > DS> file *without* the deleted user entry. > > Is there other way to do this? By setting usmUserStatus.xxx, it requires > config a read-write control access.
To that one column object, yes. > So, is there a way we can remove v3 user entry from persist file > without depending on control access? Shut down the agent, delete the relevant entry from the config file, and restart the agent again. Which brings us back to your original question: > the entry in persist snmpd.conf is encoded. > How can I know which entry is matched user In fact, it's probably overstating things to call the user entry "encoded" - the user name is simply stored as a binary string rather than a printable one. If you look at the fourth and fifth fields of the 'usmUser' entry, you'll see that they're probably the same - this is the username (and security name). Each pair of hex digits is the ASCII code of the relevant character. Dave ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ 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
