1.1 KiB
1.1 KiB
---id: V-72225 status: implemented tag: sshd ---
The tasks in the security role deploy a standard notice and consent
banner into /etc/motd
on each server. Ubuntu, CentOS, Red
Hat Enterprise Linux, openSUSE Leap and SUSE Linux Enterprise display
this banner after each successful login via ssh or the console.
Deployers can choose a different destination for the banner by setting the following Ansible variable:
security_sshd_banner_file: /etc/motd
The message is customized with the following Ansible variable:
security_login_banner_text: |
------------------------------------------------------------------------------
* WARNING *
* You are accessing a secured system and your actions will be logged along *
* with identifying information. Disconnect immediately if you are not an *
* authorized user of this system. * ------------------------------------------------------------------------------