1.4.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

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|5.1

Plugin: Unix

Control ID: 3510de1de2e5cdd1c70b3706efff8c4e328bd7d8b472dc377da14339cd49524b