The user creation can be done by modifying snmpd.conf or use utilities like 
snmpusm via snmp path.  What about creating an user from within the system?  
i.e. is there a some kind of creatuser API that can be called by other process 
such as a CLI?  If these user related APIs are not available, how does your 
system handle the v3 user creation and password changes?
thanks for the help
Steve.
   




________________________________
From: Bian Jiang <[EMAIL PROTECTED]>
To: net-snmp-users@lists.sourceforge.net
Sent: Wednesday, December 10, 2008 3:12:54 AM
Subject: Re: How can I add a v3 user successfully?


use  net-snmp-config  --create-snmpv3-user  to create new user.

more about you can see: 
http://net-snmp.sourceforge.net/docs/man/net-snmp-config.html 



On Wed, Dec 10, 2008 at 4:44 PM, Thomas Anders <[EMAIL PROTECTED]> wrote:

BOMB wrote:
> [EMAIL PROTECTED] net-snmp-5.4.2.1]# rwuser initial
> -bash: rwuser: command not found
>
> [EMAIL PROTECTED] net-snmp-5.4.2.1]# rwuser wes
> -bash: rwuser: command not found

Both lines need to go into your regular snmpd.conf file instead of your shell.


> [EMAIL PROTECTED] net-snmp-5.4.2.1]# createUser initial MD5
> setup_passphrase DES
> -bash: createUser: command not found

This line needs to go into your persistent snmpd.conf file.

Run "net-snmp-config --snmpconfpath" and "net-snmp-config 
--persistent-directory" to determine config file path names.


+Thomas



-- 
Bian Jiang
Blog:  http://www.b0rder.com/
Mail:   borderj {at} gmail.com


      
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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

Reply via email to