Use the "oldEngineID" value found in the persistent configuration file, normally /var/net-snmp/snmpd.conf
R ________________________________ From: Naama Bar Menachem [mailto:[email protected]] Sent: Wednesday, November 24, 2010 4:14 AM To: [email protected] Cc: Naama Bar Menachem Subject: How to encrypt trapsess command in snmpd.conf? Hi I need to allow and configure TRAPv3 in snmpd.conf. I added trapsess command, but such command need to receive password (pass-phrase) and it is not encrypted at this point. How can I add such command with encryption? After hours of searching the web I found the following answer to my question: Untested, but try putting the following in /var/net-snmp/snmpd.conf createUser -e 0x010203040506 myuser MD5 mypassword DES myotherpassword Then use the trapsess directive: trapsess -e 0x010203040506 -u myuser -l authPriv localhost:162 I haven't tried this myself, but it should work K Dave However, I am using default EngineID as suggested. How do I know what EngineID to use in the "-e" flag??? Naaama Bar-Menachem Software Engineer, R&D T: +972-9788-9737 | M: +972-57-641-1810 | F: +972-9-958-9731 | [email protected] <mailto:[email protected]> Novelsat Ltd. 21st Hataasiya St. Raanana 43654, Israel | www.novelsat.com <http://www.novelsat.com/> P Please consider the environment before printing this e-mail. The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting all copies. Thank you.
<<image001.jpg>>
<<inline: logo.jpg>>
------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-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
