Managing the banner and MOTD

ONTAP enables you to configure a login banner or a message of the day (MOTD) to communicate administrative information to CLI users of the cluster or storage virtual machine (SVM).

A 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 such as a password. For example, you can use the banner to display a warning message such as the following to someone who attempts to log in to the system:

$ ssh admin@cluster1-01

This system is for authorized users only. Your IP Address has been logged.

Password:

cluster1::> _

An MOTD is displayed in a console session (for cluster access only) or an SSH session (for cluster or SVM access) after a user is authenticated but before the clustershell prompt appears. For example, you can use the MOTD to display a welcome or informational message such as the following that only authenticated users will see:

$ ssh admin@cluster1-01

Password:

Greetings. This system is running ONTAP 9.0. 
Your user name is 'admin'. Your last login was Wed Apr 08 16:46:53 2015 from 10.72.137.28.

cluster1::> _

You can create or modify the content of the banner or MOTD by using the security login banner modify or security login motd modify command, respectively, in the following ways:

You can manage the banner and MOTD at the cluster or SVM level: