Re: Encrypting the auth and privacy passwords in trapsess directive

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Thu, 6 May 2010 17:14:48 +0530, Dattaram Porob <[email protected]> said:

DP> trapsess -Ci -v 3 -u myuser -l authPriv -a MD5 -A test1234 -x AES -X
DP> test1234 148.147.208.178:162

DP> And this works perfectly fine, but having the auth and priv passwords
DP> in plain text (test1234 above) is not a very good thing to do from the
DP> security perspective. Is there any way I can store these passwords in
DP> an encrypted format in this file (or may be in some other file) ?

You can put them in other files, yes, but in the end those other files
would need to be protected so they're read-write only by root obviously.
You can set the SNMPCONFPATH to include any number of directories you
want for searching for files.

There is no way currently to encrypt the file, though (and if there
were, it'd obviously require a password at the time the master-agent is
rebooted as well).
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------

_______________________________________________
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.