Cockpit Login Banner
Administrators can choose to communicate changes to host users by displaying a banner message on the Cockpit Login page. Typically, a banner message is useful for enforcing a security policy or to inform users of scheduled maintenance events.
What Do You Need?
- The Cockpit web console must be installed and accessible.
For details, see these topics: Install and Enable Cockpit and Log in to the Cockpit Web Console
- An existing
cockpit.conf
file must be saved in the/etc/cockpit/
directory.Important:
The Cockpit configuration file (cockpit.conf
) isn't a system required file. In cases where the file doesn't already exist, the file must be manually created before performing the steps in this procedure. For more details about the use of this file, see thecockpit.conf(5)
manual page. - Administrator privileges.
Steps
Using the command line, perform the following steps to add a prelogin banner message to the Cockpit configuration file.