Hi, Dave With your help, I make clear the rwuser command with group/view/access, it confuse me long time. Another question, if I use group/view/access command, how to express the property of 'rw' and 'ro'? Thanks!
-----邮件原件----- 发件人: [email protected] [mailto:[email protected]] 代表 Dave Shield 发送时间: 2009年3月31日 16:16 收件人: Kang Chen 抄送: [email protected] 主题: Re: question about the VACM 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
