i use NET-SNMP cmd tools to add a user and a view for the new user :
[EMAIL PROTECTED] root]# snmpusm -t 10 -v 3 -u kschmidt -l authNoPriv -a MD5 -A
mysecretpass 192.168.88.82 create testuser yao
User successfully created.
[EMAIL PROTECTED] root]# snmpvacm -v 3 -t 10 -u kschmidt -l authNoPriv -a MD5
-A mysecretpass 192.168.88.82 createSec2Group 3 testuser testGroup
Sec2group successfully created.
[EMAIL PROTECTED] root]# snmpvacm -v 3 -t 10 -u kschmidt -l authNoPriv -a MD5
-A mysecretpass 192.168.88.82 createView testview .1.3.6.1.2.1.6
View successfully created.
[EMAIL PROTECTED] root]# snmpvacm -v 3 -t 10 -u kschmidt -l authNoPriv -a MD5
-A mysecretpass 192.168.88.82 createAccess testGroup 3 1 1 testview testview
none
Access successfully created.
.1.3.6.1.2.1.6 means "testuser" only can access to mibii tcp and actually it
works
however when i stop my agent and restart it ,i know these configures have saved
in persist, it takes no
effect. Now "testuser" can access to many other views though i configure it to
tcp.
is that sth wrong?
thank you in advance for your help.
zhangyao
2007-08-11
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders