4.1.2 Ensure that the kubelet service file ownership is set to root:root

Information

Ensure that the kubelet service file ownership is set to root:root

The kubelet service file controls various parameters that set the behavior of the kubelet service in the worker node. You should set its file ownership to maintain the integrity of the file. The file should be owned by root:root

Solution

Run the below command (based on the file location on your system) on the each worker node. For example,

chown root:root /etc/systemd/system/kubelet.service.d/kubeadm.conf

Impact:

None

See Also

https://workbench.cisecurity.org/benchmarks/17568

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6(2), 800-53|AC-6(5)

Plugin: Unix

Control ID: 4ffdbff1f3fea3cc2852ca47ece7b6487770c0f9105e51a5d38b527177b9c94c