Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 1.7.1.2 Ensure local login warning banner is configured properly (Not Scored) ====== =====Profile Applicability===== <code> Level 1 - Server Level 1 - Workstation </code> =====Description===== The contents of the ''/etc/issue'' file are displayed to users prior to login for local terminals. \\ \\ Unix-based systems have typically displayed information about the OS release and patch level upon logging in to the system. This information can be useful to developers who are developing software for a particular OS platform. If ''mingetty(8)'' supports the following options, they display operating system information:\\ \\ ''\m'' - machine architecture (''uname -m'')\\ ''\r'' - operating system release (''uname -r'') \\ ''\s'' - operating system name \\ ''\v'' - operating system version (''uname -v'') \\ =====Rationale===== Warning messages inform users who are attempting to login to the system of their legal status regarding the system and must include the name of the organization that owns the system and any monitoring policies that are in place. Displaying OS and patch level information in login banners also has the side effect of providing detailed system information to attackers attempting to target specific exploits of a system. Authorized users can easily get this information by running the ''uname -a'' command once they have logged in. =====Audit===== Run the following command and verify that the contents match site policy: <Code:bash> # cat /etc/issue </Code> Run the following command and verify no results are returned: <code:bash> # egrep '(\\v|\\r|\\m|\\s)' /etc/issue </code> =====Remediation===== Edit the '/etc/issue'' file with the appropriate contents according to your site policy, remove any instances of ''\m'', ''\r'', ''\s'', or ''\v''. <code:bash> # echo "Authorized uses only. All activity may be monitored and reported." > /etc/issue </code> centos7/1/7/1/2.txt Last modified: 2017/05/06 00:50by 127.0.0.1