System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

SNMP Public Community string

 
SOLVED
Go to solution
Highlighted
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
Highlighted
Super Advisor

Re: SNMP Public Community string

ps: This is a Red Hat Linux server....
Highlighted
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?
Highlighted
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...
Highlighted
Honored Contributor

Re: SNMP Public Community string

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

a warrior never quits
Highlighted
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.