[EMAIL PROTECTED] wrote:
If I put multiple createUser lines in /var/net-snmp/snmpd.conf and restart the agent, can I expect or rely upon the resulting usmUser lines being in the same order? I'd like to be able to delete or modify one of several users but the usmUser lines are encrypted so I can't see which one corresponds to which of my original createUser lines. If I could count on them being in the same order, I'd be fine.

No need to rely on the order. The usmUser lines aren't really encrypted, they just contain localized keys and some of the data (like the user name) in hex.


The (notoriously undocumented) format actually is:

usmUser <userStatus> <userStorageType> <engineID> <name> <secName> <cloneFrom> <authProtocol> <authKey> <privProtocol> <privKey> <userPublicString>

It's very easy to find the entry you're looking for once you know this format.


Hope this helps, +Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ 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

Reply via email to