Changing the welcome message on the login screen

To prevent displaying certain information on login screens, edit the herald parameter in the /etc/security/login.cfg file.

The default herald contains the welcome message that displays with your login prompt. To change this parameter, you can either use the chsec command or edit the file directly.

The following example uses the chsec command to change the default herald parameter:
# chsec -f /etc/security/login.cfg -s default
-a herald="Unauthorized use of this system is prohibited.\n\nlogin:"
To edit the file directly, open the /etc/security/login.cfg file and update the herald parameter as follows:
default:
herald ="Unauthorized use of this system is prohibited\n\nlogin:"
 sak_enable = false
 logintimes = 
 logindisable = 0
 logininterval = 0
 loginreenable = 0
 logindelay = 0
Note: To make the system more secure, set the logindisable and logindelay variables to a number greater than 0 (# > 0).