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, for example, on your desktop and when logging in remotely with the ssh command. 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.3.
# 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, telnet, and FTP services.
For more information, see the issue(4) and pfedit(1M) man pages.
# 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.