3.21 Ensure that the /etc/sysconfig/docker file permissions are set to 644 or more restrictively

Information

You should verify that the /etc/sysconfig/docker file permissions are correctly set to 644 or more restrictively.

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

Solution

You should execute the following command:

chmod 644 /etc/sysconfig/docker

This sets the file permissions for this file to 644

Impact:

None.

See Also

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

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 20d7d74cc0feb9bc5e2cbcc6d11f345ee9ceaf4fd941940032a7850efef9cd7e