Managing the banner from the command-line interface
You can create a customized text banner that appears when you sign in to Access Appliance UI or the system console. You can use the login banner to communicate various kinds of messages to users. Typical uses for the login banner include legal notices, warning messages, and company policy information.
If the Security Technical Implementation Guide (STIG) mode is enabled for the cluster, the login banner cannot be modified.
To display the banner:
- Use SSH to log in to one of the nodes with admin credentials.
The Veritas Appliance Shell is displayed.
- Enter support elevate and enter the maintenance account password.
- To go to the Access command-line interface, enter LOGNAME=admin /opt/VRTSnas/clish/bin/clish -u admin
- To display the banner, enter the following command
access-clus> system banner get No login banner is currently set for the appliance.
Note:
No banner is set by default.
To set the banner:
- Use SSH to log in to one of the nodes with admin credentials.
The Veritas Appliance Shell is displayed.
- Enter support elevate and enter the maintenance account password.
- To go to the Access command-line interface, enter LOGNAME=admin /opt/VRTSnas/clish/bin/clish -u admin
- To set the banner, run the following command:
# access-clus> system banner set Enter Header (Type <enter> and <Ctrl + d> to complete the body. Max 250 characters) This is header Enter Body (Type <enter> and <Ctrl + d> to complete the body. Max 4000 characters) This is body text line 1. This is body text line 2.
The banner is made up of two parts, the header and the body. The header is the heading for the banner and the body is the banner content. The header can be a maximum of 250 characters and body can be a maximum of 4000 characters.
After the banner is set, you can view the banner using the system banner get command:
access-clus> system banner get **************** This is header **************** This is body text line 1. This is body text line 2.
Note:
If STIG is enabled on the system, you cannot change the default STIG banner.
accessclus> system banner set ACCESS Banner ERROR V-493-10-0 The banner cannot be set as STIG is enabled on the cluster.