WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple
You are here: Home / vSphere 6.7 / Changes to vSphere Client Login UI customizations in vSphere 6.7

Changes to vSphere Client Login UI customizations in vSphere 6.7

05.09.2018 by William Lam // 11 Comments

For those that have customized their vSphere Client Login UI using the instructions here and here, it looks like the process can not be applied to the vSphere 6.7 release. From what I can tell, it looks like we have now consolidated the various WAR files into a single file /usr/lib/vmware-sso/vmware-sts/webapps/ROOT.war. The original contents of the websso directory, which pertains to the UI customization, is now located here. This was a fairly minor change, but something to be aware of and for details on how to persist your configuration changes, please see the instructions below.

UPDATE (11/19/22) - As of vSphere 8, the webapp WAR file is now located in /var/lib/sso/webapps/ROOT.war

Disclaimer: This is not officially supported by VMware. If you decide to enable this, please use at your own risk and ensure you backup all original files in case you need revert back to the original configuration.

As part of looking into this, I also had some fun incorporating a cool little animated login page directly into the vSphere UI which I had shared on Twitter yesterday. Stay tuned for more details on #vYetti 🙂

The good news is there is a work around, but I do want to stress that this is NOT an officially supported capability so though it has worked in the past and it seems to continue to work, its behavior can change in the future. If this is something you believe is useful for your organization, I highly recommend you provide that feedback to your VMware Account team so they can relay that back to vSphere Client Product Manager.

Step 1 - Lets first take a backup of the original ROOT.war file so you can easily revert back in case you run into any issues. To do so, login to VCSA via SSH and run the following command:

cp /usr/lib/vmware-sso/vmware-sts/webapps/ROOT.war /usr/lib/vmware-sso/vmware-sts/webapps/ROOT.war.bak

Step 2 - We are now going to create a temporary directory that we will use to store the ROOT.war file and we will also copy over it over using the following two commands:

mkdir /root/ROOT
cp /usr/lib/vmware-sso/vmware-sts/webapps/ROOT.war /root/ROOT/

Step 3 - We are now going to change into our /root/ROOT directory and extract the contents of the war file so we can make our modifications. To do so, run the following three commands:

cd /root/ROOT
unzip ROOT.war
rm ROOT.war

Step 4 - If you wish to pre-fill the credentials when logging into the vSphere Client (Flex/H5), go ahead and update WEB-INF/views/unpentry.jsp as outlined in this blog article here. If you wish to make the login button active so you do not have to click into the box or hit tab, you will need to comment out $('#submit').prop('disabled',true); on L91 in resources/js/websso.js

Step 5 - Once you have completed and saved all of your changes, we now need to re-generate the ROOT.war file so we can replace it with our modified version. To do so, run the following command:

zip -r /root/ROOT.war index.jsp META-INF resources WEB-INF

If the command was successful, we should have our new ROOT.war located in /root.

Step 6 - Now we just need to update the system with our modified ROOT.war by simply copying it back to the original location by running the following command:

cp /root/ROOT.war /usr/lib/vmware-sso/vmware-sts/webapps/ROOT.war

Finally, to verify that that our changes will go into effect, we can simply issue a reboot to our VCSA and we should see that any customization changes made to the vSphere Client Login UI will now persist after a system restart.

More from my site

  • Quick Tip - vCenter Server Advanced Settings Reference
  • Quick Tip - New remote version of ESXCLI 8.x
  • Downgrading new VMware vSphere Foundation (VVF) or VMware Cloud Foundation (VCF) licenses to 7.x
  • Updating handshakeTimeoutMs setting for ESXi 7.x & 8.x using configstorecli
  • Identifying vSphere with Tanzu Managed VMs

Categories // vSphere 6.7, vSphere 7.0, vSphere 8.0, vSphere Web Client Tags // ROOT.war, vSphere 6.7, vSphere 7.0, vSphere 8.0, vsphere web client, websso.war

Comments

  1. *protectedHarkins says

    05/09/2018 at 12:43 pm

    Is there a vrops equivalent to this?

    Reply
  2. *protectedدانلود زیرنویس فارسی says

    05/09/2018 at 1:47 pm

    Changes are great, now it's better

    Reply
  3. *protectedHassan Riaz says

    05/15/2018 at 9:09 am

    Hi Admin,

    I Love To See Your website and Very Impress to See This Kind Of Great Information.

    Reply
  4. *protectedMaxim Kuznetsov says

    09/05/2018 at 3:48 am

    Now I was able to remove annoying "browser-os combination" banner in Linux. Thank You!

    Reply
  5. *protected*protected email* says

    09/27/2018 at 12:19 am

    Thank you very much, but enabling login button is not working in 6.7.0d anymore by just commenting line 91 out.
    Do you have another solution for this?

    Reply
    • *protectedmensa84 says

      09/27/2018 at 12:22 am

      Can you please delete my email address out of my name above?
      So that it is not shown as name.

      Reply
  6. *protectedMateusz Kryszkiewicz says

    10/31/2019 at 6:06 am

    In case some one wants to modify background image in VCSA 6.7 - VMware switched to Clarity in their products so you need to modify clr-ui.min.css instead of login.css.

    Reply
    • *protectedpaul says

      04/23/2020 at 10:06 am

      Hi, can you show a example on VCSA 6.7.0.4200 to change the login page Banner and Background?
      I can't seem to find the mentioned location where I can edit the background picture.

      Reply
  7. *protectedDaniel D Earl says

    02/24/2023 at 4:49 pm

    Was scouring vcsa for the VAMI page, do you have any idea where it is?

    Reply
    • William Lam says

      02/24/2023 at 6:11 pm

      Open Chrome Developer, identify one of pages and do find on VCSA, that’s how I’ve been able to figure these things out 🙂

      Reply
  8. *protectedLuiz Assis says

    05/19/2023 at 7:23 am

    Is it possible to disable autocomplete on esxi 6.7 custom login page?

    Reply

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • VMware Flings is now available in Free Downloads of Broadcom Support Portal (BSP) 05/19/2025
  • VMUG Connect 2025 - Minimal VMware Cloud Foundation (VCF) 5.x in a Box  05/15/2025
  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025