Overview
This article discusses how to customize the CloudBolt login page to display a security message.
Considerations
You must be a root user in CloudBolt Server to make this customization.
Procedure
Step 1 ssh to your CB server as root
mkdir -p /var/opt/cloudbolt/proserv/templates/registration/
cp /opt/cloudbolt/templates/registration/login.html /var/opt/cloudbolt/proserv/templates/registration
Step 2 Edit the HTML file
Edit the /var/opt/cloudbolt/proserv/templates/registration/login.html with your favorite editor
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>
</div>
Save the changes to the file
Step 3 browse the login page
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:
0 Comments