Login message

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 Settings > GUI Preferences > Login to enable and create a login message.

Procedure

To change the login message from a SAN administrator workstation, complete the following steps.

  1. Use a suitable text editor to create a file that contains the text of the message.
    Note: The message cannot exceed 4 Kbytes.
  2. 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.
  3. Log on to the system to be configured.
  4. 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