ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

vCenter Server 6.0 SSO Policies – Where To Change Password Maximum Lifetime etc…

By Vladan SEGET | Last Updated: March 17, 2015

Shares

In VMware vSphere 6.0, after default installation of vCenter Server and SSO, there are some vCenter Server 6.0 SSO policies that will most likely interest you. Note that the password policy applies only to users in the vCenter Single Sign-On domain (vsphere.local). If yo just leave the default values you'll be supprised the 91st day you can't login with [email protected] account … This does NOT apply to AD integrated accounts when you add your AD as an Identity source.

Some admins might want to just leave as-is, but I guess that most people will most likely want to match their existing organization password policy. It can be organized many ways. One of those (a very popular one) is set-it and forget-it. Which basically means that the domain admin password policy in your DC is set to never expire…. vCenter SSO for the vSphere.local domain does not allow such a setting, but instead you can just put a number which is very high (like 999999).

vCenter Server 6.0 SSO Policies

Password Policy

You can configure the following parameters:

  • Description – Password policy description. Required.
  • Maximum lifetime – Maximum number of days that a password can exist before it has to be changed.
  • Restrict re-use – Number of the user’s previous passwords that cannot be set again.
  • Maximum length – Maximum number of characters that are allowed in the password.
  • Minimum length – Minimum number of characters required in the password.
  • Character requirements – Minimum number of different character types required in the password.
  • Identical adjacent characters – Maximum number of identical adjacent characters allowed in the password.

To get to this screen You must click Administration > Single Sign-On > Configuration

VMware vCenter 6.0 SSO Default Password Policy

By clicking the Edit button you are able to change values there…

VMware vCenter SSO Password Policy

If you leave the default values and after 90 days you will want to log-in you might end up with messages saying that:

  • User Account is locked.
  • User Account is disabled.

Update: As Leny just commented, the “0” will actually enables the “never expire” option…  Thanks -:).

Put 0 to make the password never expire

Those SSO policies are pretty much the same as in vSphere 5.5, but with a difference that in vSphere 5.5 we also had an administrator password expiry on the vCenter server appliance (VCSA). The VCSA 6.0 is pretty much locked out and the GUI we use to manage VCSA accessible via the port 5480 is no longer available.

Lockout Policy

Specifies the condition under which a vCenter SSO account is locked when the user attempts to log in with incorrect credentials. Five login attempts and three minutes between failures are set by default. This policy also specifies the time that must elapse before the account is automatically unlocked.

  • Description – Description of the lockout policy. Required.
  • Max. number of failed login attempts – Maximum number of failed login attempts that are allowed before the account is locked.
  • Time interval between failures (seconds) – Time period in which failed login attempts must occur to trigger a lockout.
  • Unlock time (seconds) – Amount of time that the account remains locked. If you enter 0, the account must be explicitly unlocked by an administrator.

To see the lockout policy parameters, click on the Policies tab and select Lockout Policy:

VMware vCenter 6.0 SSO configuration Password lockout policy

Then there is also a Token Policy… which is also interesting as for example the Clock tolerance shows time difference, in milliseconds, that vCenter Single Sign-On tolerates between a client clock and the domain controller clock. If the time difference is greater than the specified value, vCenter Single Sign-On declares the token invalid.

Other configuration options:

  • Maximum token renewal count – Maximum number of times that a token can be renewed. After the maximum number of renewal attempts, a new security token is required.
  • Maximum token delegation count – Holder-of-key tokens can be delegated to services in the vSphere environment. A service that uses a delegated token performs the service on behalf of the principal that provided the token. A token request specifies a DelegateTo identity. The DelegateTo value can either be a solution token or a reference to a solution token. This value specifies how many times a single holder-of-key token can be delegated.
  • Maximum bearer token lifetime – Bearer tokens provide authentication based only on possession of the token. Bearer tokens are intended for short-term, single-operation use. A bearer token does not verify the identity of the user or entity that is sending the request. This value specifies the lifetime value of a bearer token before the token has to be reissued.
  • Maximum holder-of-key token lifetime – Holder-of-key tokens provide authentication based on security artifacts that are embedded in the token. Holder-of-key tokens can be used for delegation. A client can obtain a holder-of-key token and delegate that token to another entity. The token contains the claims to identify the originator and the delegate. In the vSphere environment, a vCenter Server obtains delegated tokens on a user’s behalf and uses those tokens to perform operations. This value determines the lifetime of a holder-of-key token before the token is marked invalid.

Token policy – specifies the clock tolerance, renewal count, token delegation count, and other token properties.

Again, your domain admin accounts are not affected by those policies.

Check this page on the blog: vSphere 6.0 Release and updates – vSphere 6.0 page.

Shares
Vote !

| Filed Under: Server Virtualization

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Leny says

    March 16, 2015 at 3:08 pm

    Hi Vladan,

    In fact, if you set the maximum lifetime to zero (instead of 999999), then it never expires.

    Best regards,
    Leny

    • Vladan SEGET says

      March 16, 2015 at 3:14 pm

      Yes, sure thing. -:)

  2. Andrea Casini says

    March 18, 2015 at 11:17 am

    Hi Vladan,

    in VCSA 5.5 the local root password would expire after 90 days, is this something we need to take care of in VCSA 6.0 as well? If yes, how?

    Thanks.

    • Vladan SEGET says

      March 18, 2015 at 12:33 pm

      Not exactly as VCSA 6.0 does not have the expiration on root password. But it’s the local admin account on the “vsphere.local” domain which you will not actually use if you add your AD as an identity source…

  3. Andrea Casini says

    March 20, 2015 at 8:33 pm

    I’ve actually digged the matter a little deeper and found that the root user DOES have an expiration password.

    You can verify it with this command:
    localhost:~ # chage -l root
    Minimum: 0
    Maximum: 365
    Warning: 7
    Inactive: -1
    Last Change: Mar 17, 2015
    Password Expires: Mar 16, 2016
    Password Inactive: Never
    Account Expires: Never

    You can also easily change that using the “chage” command.

    • Vladan SEGET says

      March 21, 2015 at 4:07 am

      Thanks for the input…

  4. bastian says

    September 3, 2015 at 6:03 am

    is there individual accounts password policy – like certain accounts will have different expiration timing?

  5. Damiano says

    November 23, 2016 at 12:46 pm

    the expiry and lockout policies doesn’t apply for [email protected] user.

  6. simon says

    March 20, 2018 at 5:23 pm

    in VCSA 6.0 from the SSH console, is there a command to change the maximum life time policy from 90 to Zero ?

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in