3.22 Ensure that the /etc/sysconfig/docker file ownership is set to root:root

Information

You should verify that the /etc/sysconfig/docker file individual ownership and group ownership is correctly set to root

The /etc/sysconfig/docker file contains sensitive parameters that may alter the behavior of the Docker daemon. It should therefore be individually owned and group owned by root to ensure that it is not modified by less privileged users.

Solution

You should execute the following command:

chown root:root /etc/sysconfig/docker

This sets the ownership and group ownership for the file to root

Impact:

None.

See Also

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

Item Details

Category: ACCESS CONTROL

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

Plugin: Unix

Control ID: 5360483f777305e26e4b8f8908a5fb7012867ce3230461cfd1080ab4a41ac045