Re: v3 traps and plain text password

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 3 March 2011 01:49, Prakash Masanagi <[email protected]> wrote:
> If I add the following line in snmpd.conf, then snmpd sends v3 trap with
> that username properly.
>     trapsess -v3 -u netadmin -l authNoPriv -a MD5 -A netadminpassword 10.4.120.141

> But I do not want to expose the password in plain text like this in the
> config file.
> Is there any other way of configuring without exposing the passwords like this.

Determine the engineID of the destination system (10.4.120.141),
then add a line

    createUser -e 0x010203040506 netAdmin MD5 netadminpassword DES

to the persistent snmpd.conf file
   (where 0x010203040506 is replaced by the appropriate engineID).
When you restart the agent, this will be replaced by an equivalent usmUser line,
with a localized authentication key.

Dave

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.