Hi, Dave

Thank you for your help.
But I want to create a new user by mibbrowser, not by the snmpusm command.
Now I can set usmUserStatus to 5 to create a new user, and set usmUserCloneFrom 
to a existed user. After configure the related VACM parameters, I can use the 
new user to do the get and set operation. But, I don't know how to modify the 
authentication password from the mibbrowser.  

-----邮件原件-----
发件人: [email protected] [mailto:[email protected]] 代表 Dave 
Shield
发送时间: 2009年4月20日 16:46
收件人: Kang Chen
抄送: [email protected]
主题: Re: how to create a new SNMPv3 user using usmUserTable

2009/4/20 Kang Chen <[email protected]>:
> I want to use usmUserTable to create a new SNMPv3 user, but I don’t know how
> to configure the authentication password and privacy password?

From the snmpusm(1) man page:

CREATING USERS
       An ... SNMPv3 user can be created [and activated] using the command...

              snmpusm [OPTIONS] create USER CLONEFROM-USER

       The USER entry then inherits the same authentication and privacy settings
       (including pass phrases) as the  CLONE-FROM user.....



CHANGING PASS PHRASES
       After cloning a new user entry from the appropriate template,
you  should
       immediately  change  the  new  user’s passphrase.

       If  USER  is not specified, this command will change the
passphrase of the
       (SNMPv3) user issuing the command.  If the -Ca or -Cx options
are specified,
       then only the authentication or privacy keys are changed.  If
these options
       are not specified, then both the authentication and privacy
keys are changed.

              snmpusm [OPTIONS] [-Ca] [-Cx] changekey [USER]

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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to