Operating System - Linux
1751738 Members
5824 Online
108781 Solutions
New Discussion юеВ

SNMP Public Community string

 
SOLVED
Go to solution
MikeL_4
Super Advisor

SNMP Public Community string

I received a note from our auditors stating that the: "public" (default) SNMP community string still works, on our servers... Can you tell me what I need to check and how to turn it off ???

Thanks
5 REPLIES 5
MikeL_4
Super Advisor

Re: SNMP Public Community string

ps: This is a Red Hat Linux server....
Ivan Ferreira
Honored Contributor
Solution

Re: SNMP Public Community string

Check the /etc/snmp/snmpd.conf file. If you don't use SNMP disable the service with:

chkconfig snmpd off
service snmpd stop
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
MikeL_4
Super Advisor

Re: SNMP Public Community string

I've attached a copy of the snmpd.conf file on our servers in case it helps...

I am not familiar with snmp at all and this is the first time I've looked at the config file for it...

I believe I would need to change the com2sec, group, view, and access lines some how but now sure where to even start...
Jeeshan
Honored Contributor

Re: SNMP Public Community string

simply # on the every line in your snmpd.conf file you attached.

a warrior never quits
Alexander Chuzhoy
Honored Contributor

Re: SNMP Public Community string

from the cli run the following command:

snmpwalk -v1 -c public

where is the address of the server to check.


If you get lots of lines with values - the snmpd server is up and it accepts "public" as community.