Use this procedure to create security messages in two banner files that reflect your site's security policy. The /etc/issue file displays before authentication, while the /etc/motd file displays after authentication.
Before You Begin
You must become an administrator who is assigned the Administrator Message Edit rights profile. For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
# pfedit /etc/issue ALERT ALERT ALERT ALERT ALERT This system is available to authorized users only. If you are an authorized user, continue. Your actions are monitored, and can be recorded.
The login command displays the contents of /etc/issue before authentication, as do the ssh, graphical-login/gdm, and FTP services.
# pfedit /etc/motd This system serves authorized users only. Activity is monitored and reported.
In Oracle Solaris, the user's initial shell displays the contents of the /etc/motd file.