thedark Second Lieutenant
Joined: 30 Jul 2005
Posts: 1074
|
Posted: Thu Aug 04, 2005 11:27 am Post subject: Snmpd: Securing |
|
|
If you want to secure snmp a bit more, then you have to change your community
string. This can be done the hard, complex and fully featured way and the easy to
go way. If you want to fully configure your community with different levels of access
then hou have to read 'man snmpd.conf' .
Ok here is the 'easy' way:
Create/edit the file '/usr/local/share/snmp/snmpd.conf' and make sure the following
line is the only one in the file:
rocommunity [string] 127.0.0.1
Change [string] with the desired community string (thus your 'password'). This wil
make a read only community only accessable from 127.0.0.1. You can make a
read write community with 'rwcommunity'
Snmpd uses this config file by default but you can enforce it by using the
'-c configfile' option of snmpd. |
|