Creating a banner
You can create a banner to display a message to someone who attempts to access the cluster or SVM. The banner is displayed in a console session (for cluster access only) or an SSH session (for cluster or SVM access) before a user is prompted for authentication.
Examples of creating banners
The following example uses the noninteractive mode to create a banner for the cluster1
cluster:
cluster1::> security login banner modify -message "Authorized users only!"
cluster1::>
The following example uses the interactive mode to create a banner for the svm1
SVM:
cluster1::> security login banner modify -vserver svm1
Enter the message of the day for Vserver "svm1".
Max size: 2048. Enter a blank line to terminate input. Press Ctrl-C to abort.
0 1 2 3 4 5 6 7 8
12345678901234567890123456789012345678901234567890123456789012345678901234567890
The svm1 SVM is reserved for authorized users only!
cluster1::>
The following example displays the banners that have been created:
cluster1::> security login banner show
Vserver: cluster1
Message
-----------------------------------------------------------------------------
Authorized users only!
Vserver: svm1
Message
-----------------------------------------------------------------------------
The svm1 <span className="ph">SVM</span> is reserved for authorized users only!
2 entries were displayed.
cluster1::>
Give documentation feedback