- 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/
- 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> - 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 & logout after each time you upgrade CB. Eventually this message will be configurable within the CB UI.
The login page should look something like this:
1 Comments