1.5.1.6 Ensure permissions on /etc/issue.net are configured

Information

The contents of the /etc/issue.net file are displayed to users prior to login for remote connections from configured services.

Rationale:

If the /etc/issue.net file does not have the correct ownership it could be modified by unauthorized users with incorrect or misleading information.

Solution

Run the following commands to set permissions on /etc/issue.net :

# chown root:root /etc/issue.net
# chmod 644 /etc/issue.net

/etc is stateless on Container-Optimized OS. Therefore, the steps mentioned above needs to be performed after every boot.

See Also

https://workbench.cisecurity.org/files/3659