SV-221891r603260_rule
V-221891
SRG-OS-000480-GPOS-00227
OL07-00-040800
CAT I
10
If the "/etc/snmp/snmpd.conf" file exists, modify any lines that contain a community string value of "public" or "private" to another string value.
Verify that a system using SNMP is not using default community strings.
Check to see if the "/etc/snmp/snmpd.conf" file exists with the following command:
# ls -al /etc/snmp/snmpd.conf
-rw------- 1 root root 52640 Mar 12 11:08 snmpd.conf
If the file does not exist, this is Not Applicable.
If the file does exist, check for the default community strings with the following commands:
# grep public /etc/snmp/snmpd.conf
# grep private /etc/snmp/snmpd.conf
If either of these commands returns any output, this is a finding.
V-221891
False
OL07-00-040800
Verify that a system using SNMP is not using default community strings.
Check to see if the "/etc/snmp/snmpd.conf" file exists with the following command:
# ls -al /etc/snmp/snmpd.conf
-rw------- 1 root root 52640 Mar 12 11:08 snmpd.conf
If the file does not exist, this is Not Applicable.
If the file does exist, check for the default community strings with the following commands:
# grep public /etc/snmp/snmpd.conf
# grep private /etc/snmp/snmpd.conf
If either of these commands returns any output, this is a finding.
M
4089