highservicesverified ✓rollback-safe
Disable DHCP server
service-disable-dhcpd · RHEL ≥ 8 · 1 impl
Description
The DHCP server provides IP address configuration to network clients. Unless the system is a designated DHCP server, this service should be disabled.
Rationale
Running an unnecessary DHCP server could interfere with network operations or be exploited to provide malicious configuration to clients.
Check → Remediate
Checkservice_state
- name:
- dhcpd
- active:
- false
- enabled:
- false
Remediateservice_masked
- name:
- dhcpd
Framework references
CIS
rhel8 2.1.4rhel9 2.1.3rhel10 2.1.4
NIST 800-53
CM-7
Live verification
rhel10:checkrhel8:checkrhel9:check
#service#networking#attack-surface