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

Information

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

Rationale:

The scheduler.conf file is the kubeconfig file for the Scheduler. 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/scheduler.conf

Impact:

None

Default Value:

By default, scheduler.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: cc3a54ccf44b6ac4acebcae0e1c4c67d223845a5869488aaf5d9fe8e302948da