How to add a customized security message to CB's login page

  1. ssh to your CB server as root
  2. mkdir -p /var/opt/cloudbolt/proserv/templates/registration/
  3. cp /opt/cloudbolt/templates/registration/login.html /var/opt/cloudbolt/proserv/templates/registration/

  4. edit the  /var/opt/cloudbolt/proserv/templates/registration/login.html with your favorite editor
  5. 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>

  6. 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:

customized_login_pg.png

Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    Lars Bjerke

    Bernard,

     

    Thanks for this, very helpful! 

Please sign in to leave a comment.