Edit the Login Banner

Ensure that you have Administrator privileges.
  1. Enter the following command to edit the login banner.
    group --edit [--login_banner] [--login_banner_after_auth {yes | no}] [--force]
  2. After you type the command and press Enter, type the banner message, then type ctrl + D to save the message.
    NOTE: The login banner will be deleted if you create an empty banner message (no characters typed). To delete the login banner use the --force option when entering the command.

Editing the login banner message and setting the login banner to be displayed before user authentication.

$ group --edit --login_banner --login_banner_after_auth no
Please enter the banner message below followed by ^D:
***********************************************
*                                             *
* SECURITY WARNING: AUTHORIZED PERSONNEL ONLY *
*                                             *
***********************************************
$

Deleting a login banner

$ group --edit --login_banner -force
Please enter the banner message below followed by ^D:
$