DKER-EE-005220 - Docker Enterprise /etc/docker directory permissions must be set to 755 or more restrictive - Ubuntu

Information

Verify that the /etc/docker directory permissions are correctly set to 755 or more restrictive.

/etc/docker directory contains certificates and keys in addition to various sensitive files. Hence, it should only be writable by root to maintain the integrity of the directory.

By default, the permissions for this directory are correctly set to 755.

Solution

set the permissions for the directory to 755.

Execute the following command:
chmod 755 /etc/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|II, CCI|CCI-000366, Rule-ID|SV-235856r961863_rule, STIG-ID|DKER-EE-005220, STIG-Legacy|SV-104887, STIG-Legacy|V-95749, Vuln-ID|V-235856

Plugin: Unix

Control ID: 8ecbd9003ac4f55ced07c76995d72878e6b0791fd0351663118daf027917289e