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:
- Log on to the Access command-line interface by opening an SSH session to the management console IP as an administrator.
- In the Access command-line interface, run the following command:
system banner get
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:
- Log on to the Access command-line interface by opening an SSH session to the management console IP as an administrator.
- In the Access command-line interface run the following command:
system banner get
# 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.