2009/3/31 Kang Chen <[email protected]>:
> createUser leelin MD5 "authpass" DES "privpass"
That line actually belongs in /var/net-snmp/snmpd.conf
rather than here, but never mind.
> rwuser leelin auth
"rwuser" is a simplified version of access control.
It should be used as an *alternative* to the group/view/access
directives. Don't try to mix them.
> group Groupv3 usm leelintest
> view if2 included .1.3.6.1.2.1.2.2 80
> access Groupv3 “” usm auth exact if2 if2 if2
This sets up the user "leelintest" to have access to the view 'if2'
(and nothing else).
If you want the user "leelin" to have access to the same view,
then delete the line "rwuser leelin" and replace it with
group Groupv3 usm leelin
Then both "leelin" and "leelintest" (and any other users
you put into the group "Groupv3") will have access to 'if2'
Dave
------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders