1.6.6 Ensure access to /etc/issue.net is configured

Information

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

-IF- the /etc/issue.net file does not have the correct access configured, it could be modified by unauthorized users with incorrect or misleading information.

Solution

Run the following commands to set mode, owner, and group on /etc/issue.net :

# chown root:root $(readlink -e /etc/issue.net)
# chmod u-x,go-wx $(readlink -e /etc/issue.net)

See Also

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