On 7 March 2011 23:02, Prakash Masanagi <[email protected]> wrote: > If I have two usmUser entries in the configuration file, then how to specify > which user to use when sending traps to a particular destination.
Use the '-u' flag > To do this, we need to specify the user name in "trapsess .." line in the > configuration. Correct. > Here we will end up giving plain text passwords for the user. Wrong. The "trapsess" line will include the name of the user, but doesn't need to specify the password, since this was given as part of the "createUser" line. That does include the plain text password, but will then be replaced by an equivalent "usmUser" line (which doesn't) But in either case, the "trapsess" line doesn't need to specify the password, as long as this is configured as part of the user line. The only time that you need to include passwords on the trapsess line is if you *don't* have a 'createUser' (or 'usmUser') line for that user. Dave ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
