DKER-EE-005350 - Docker Enterprise /etc/default/docker file ownership must be set to root:root.

Information

Verify that the /etc/default/docker file ownership and group-ownership is correctly set to root.

/etc/default/docker file contains sensitive parameters that may alter the behavior of docker daemon. Hence, it should be owned and group-owned by root to maintain the integrity of the file.

This file may not be present on the system. In that case, this recommendation is not applicable.

Solution

Set the ownership and group-ownership for the file to root.

Run the following command:
chown root:root /etc/default/docker

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Docker_Enterprise_2-x_Linux-Unix_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|I, CCI|CCI-000366, Rule-ID|SV-235869r961863_rule, STIG-ID|DKER-EE-005350, STIG-Legacy|SV-104913, STIG-Legacy|V-95775, Vuln-ID|V-235869

Plugin: Unix

Control ID: f622619001b6e87af50eac1754e09efd657eba05fae1859bfadac37869ee9f2b