You can create or change a message that displays when users log on to the
system.
About this task
When users log on to the system with the management GUI, command-line interface, or
service assistant, the message displays before they log on to the system. To create or change the
login message, you can use the chbanner command or the
management GUI. If you are using the command, you must create the message in a supported text editor
and use Secure Copy (SCP) to copy the file to the configuration node on the system. In the
management GUI, select to enable and create a login message.
Procedure
To change the login message from a SAN administrator
workstation, complete the following steps.
-
Use a suitable text editor to create a file that contains the text of the message.
Note: The message cannot exceed 4 Kbytes.
-
Use a Secure Copy client to copy the file to the configuration node of the system to be
configured.
Specify the management IP address of the system to be configured.
-
Log on to the system to be configured.
-
In the command-line interface, type the following command to set the login message:
chbanner -file filepath
where
filepath specifies the file that contains the text of the new message.
Example
echo "Access to this system is permitted only for authorized personnel." > loginmessage
scp loginmessage admin@12.23.34.45:/tmp/loginmessage
(enter password)
ssh admin@12.23.34.45
(enter password)
chbanner -file /tmp/loginmessage