3.19 Ensure that the /etc/default/docker file ownership is set to root:root

Information

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

The /etc/default/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 cannot be modified by less privileged users.

Solution

You should execute the following command

chown root:root /etc/default/docker

This sets the ownership and group ownership of 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: 0557fdf51c2136f78bca51bec9a007d4dc351a8e29ae7247adbfee0f820f5b8f