1.1.14 Ensure that the admin.conf file ownership is set to root:root

Information

Ensure that the admin.conf file ownership is set to root:root.

Rationale:

The admin.conf file contains the admin credentials for the cluster. 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 master node. For example,

chown root:root /etc/kubernetes/admin.conf

Impact:

None.

Default Value:

By default, admin.conf file ownership is set to root:root.

References:

https://kubernetes.io/docs/admin/kubeadm/

See Also

https://workbench.cisecurity.org/files/2662

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv6|5.1, CSCv7|5.2

Plugin: Unix

Control ID: 50348b515865ceb3b29ce5b3f4e07a437fa760260cbc6ef814cb9ddfbe9d1a62