On 2 January 2013 07:20, Dudi Bickel <du...@ceragon.com> wrote:
>  I notice that when calling the SNMPD with -I flag with 'whatever' it
> causes the SNMPD to turn off authentication check. Meaning when
> running snmp like this /usr/sbin/snmpd -T 120 -Ln -I kuku ,
> Every community for get or set will work.
> Is it supposed to be like this?

If you give the option  -I{tokens}
then you are telling the agent to initialise these modules
  (and these modules only)

If you give the option  -I-{tokens}
then you are telling the agent to initialise everything *except* these modules

In the second case  (which is what you seemed you be using earlier),
anything that isn't explicitly mentioned will be left active.  In particular,
the access control code will be included unless you explicitly turn it off.

  But with the first approach,  the access control code will only be
activated if you explicitly include it in the list of modules to initialise.
Try
    /usr/sbin/snmpd -T 120 -Ln -I kuku,vacm_vars


Dave

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
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