How To Add a Customized Security Message to Your CloudBolt Login Page?


This article discusses how to customize the CloudBolt login page to display a security message.


You must be a root user in CloudBolt Server to make this customization.


Step 1 ssh to your CB server as root

  1. mkdir -p /var/opt/cloudbolt/proserv/templates/registration/

  2. cp /opt/cloudbolt/templates/registration/login.html /var/opt/cloudbolt/proserv/templates/registration

Step 2 Edit the HTML file

  1. Edit the  /var/opt/cloudbolt/proserv/templates/registration/login.html with your favorite editor

  2. toward the bottom of the file, right, right above the line '</div>{# end .panel #}', add this block of HTML, replacing the sample security message below with your own:

    <div class="panel panel-default" style=" display: block; margin: 15px auto; width: 35em; ">
    <div class="panel-body">Test: Authorized Use Only!
    The information on this computer and network is the property
    of this organization and is protected by intellectual property rights.
    You must be assigned an account on this computer to access information
    and are only allowed to access information defined by the system
    administrators. Your activities will be monitored.</div>

  3. Save the changes to the file

Step 3 browse the login page

  1. Point your browser at the login page for CB to ensure the message shows up

This will override the login page for CB, and it will persist across upgrades of CB.  Be sure to test login & log out after each time you upgrade CB.  Eventually, this message will be configurable within the CB UI.

The login page should look something like this:

Have more questions? Submit a request


Please sign in to leave a comment.