Create a custom login disclaimer

You can add a custom banner to console login page. For example, you can add a disclaimer about authorized or unauthorized use of private information found in the console.

These steps explain how to use a disclaimer.txt file for your custom disclaimer. You can also use the RBAC API Disclaimer endpoints to configure the disclaimer without needing to reference a specific file location on disk.

  1. Create a disclaimer.txt file containing the disclaimer content.
  2. Place the file in /etc/puppetlabs/console-services

    If you want to store the file somewhere else, you can change the disclaimer file path in the console by configuring puppet_enterprise::profile::console::disclaimer_content_path

  3. Log in to the console to test the new banner.

If the banner does not appear after you log in to the console, check the following:

  1. Verify that an RBAC API disclaimer is not set.

    If a disclaimer is set by using the RBAC API, the file-based disclaimer.txt banner is ignored.

  2. Verify that the console services can read the file.

    Ensure that the permissions on the disclaimer.txt file allow the console services to access it. If the services cannot read the file, the banner does not load.

Related information