Skip to content

Verify User Who Owns The Worker Kubeconfig File

An XCCDF Rule

Description

To properly set the owner of /var/lib/kubelet/kubeconfig, run the command:

$ sudo chown root /var/lib/kubelet/kubeconfig 

Rationale

The worker kubeconfig file contains information about the administrative configuration of the OpenShift cluster that is configured on the system. Protection of this file is critical for OpenShift security.

ID
xccdf_org.ssgproject.content_rule_file_owner_worker_kubeconfig
Severity
Medium
References
Updated