Re: How do you generate a USM localized key?
Anthony Wright <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I tried that and it worked, but it's very awkward to automate - the only way I could find to generate the usmUser record from a createUser record was to run snmpd, but since I use snmpd to monitor all my machines, I've already got an snmpd running on the machine and the two snmpds interfere with each other. Then I've got kill the snmpd, but only after it's created the usmUser record, and finally I've got to parse the persistent snmpd.conf to extract the localized key. Since createUser explicitly offers the ability to use a localized (or master - what is that?) key, I presumed there was a relatively simple way to generate them, but I can't find any documentation on the subject other than the few lines on createUser. thanks, Anthony Wright. Dave Shield wrote: > 2009/4/16 Anthony Wright <[email protected]>: > >> I'm trying to get USM authentication and encryption working on an SNMPv3 >> server, and don't want to store the password in the snmpd.conf file. >> > > What happens if you take the "usmUser" line from the persistent > snmpd.conf file, and put that in the normal one? > > i.e. use "usmUser" (which expects a localised key) instead of > "createUser" (which doesn't). > > I've not tried this myself, but it ought to work. > > Dave > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > 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 > > > ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ 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