VMware vSphere

 View Only
  • 1.  Disable password expiration ONLY for adminitrator

    Posted Jul 03, 2018 10:01 AM

    Hello

    It's possibile on vSphere Web Client 6.5 to disable password expiration ONLY for password administrator user ??

    Thanks



  • 2.  RE: Disable password expiration ONLY for adminitrator

    Posted Jul 03, 2018 11:40 AM

    What is vcenter version?



  • 3.  RE: Disable password expiration ONLY for adminitrator

    Posted Jul 03, 2018 12:13 PM

    6.5



  • 4.  RE: Disable password expiration ONLY for adminitrator

    Posted Jul 03, 2018 12:36 PM

    Step by step:

    Edit the vCenter Single Sign-On Password Policy

    Change the maximum lifetime fomr 90 days to 0 days.

    If this answer has helped you, please mark it as answered.



  • 5.  RE: Disable password expiration ONLY for adminitrator

    Posted Oct 16, 2020 05:59 AM

    By default the administrator password does not expire. This can be changed by running a CLI session (Putty or your favourite SSH client) and running

    /usr/lib/vmware-vmafd/bin/dir-cli user modify --account administrator --password-expires

    Other accounts can be set to not expire using

    /usr/lib/vmware-vmafd/bin/dir-cli user modify --account <account> --password-never-expires

    More generally the syntax is

      dir-cli  user modify --account <account name>
                     [ --password-never-expires          ]
                     [ --password-expires                ]
                     [ --login<admin user id>        ]
                     [ --password <password>             ]


  • 6.  RE: Disable password expiration ONLY for adminitrator

    Posted Dec 14, 2020 02:39 PM

    This would seem incorrect: by default, the root password expires after 90 days
    https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vcsa.doc/GUID-C63C82F1-D430-4710-8B92-177A79D3DE65.html
    But you said "administrator" so you were maybe not talking about the root password...