{"id":4232,"date":"2024-09-14T10:41:32","date_gmt":"2024-09-14T10:41:32","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=4232"},"modified":"2024-09-14T10:41:33","modified_gmt":"2024-09-14T10:41:33","slug":"vmware-vcenter-exception-in-invoking-authentication-handler-user-password-expired","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=4232","title":{"rendered":"VMware vCenter &#8211; \u201cException in invoking authentication handler User password expired\u201d"},"content":{"rendered":"\n<p>An appliance that was deployed over 90 days old with no changes made to the default settings. When attempting to logon to the VAMI console of the appliance i.e. https:\/\/vcenter.domain.com:5480 you get the message: \u201cException in invoking authentication handler User password expired\u201d.<\/p>\n\n\n\n<p>To resolve this you need to reset the password, then set it not to expire. Although no expiring passwords are not recommended, unless of course you have a mechanism to remind you to reset it periodically, so you don&#8217;t need to rely on the automatic reset. SSH or use the VM console and perform the following steps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Check Password Expiry<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>root@vcenter &#91; ~ ]# chage -l root\nYou are required to change your password immediately (password expired)\nchage: PAM: Authentication token is no longer valid; new one required<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Change Password<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>root@vcenter&#91; ~ ]# passwd root\nNew password:\nRetype new password:\npasswd: password updated successfully<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Change Password Expiry (to Never Reset)<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>root@vcenter&#91; ~ ]# chage -M -1 root<\/code><\/pre>\n\n\n\n<p>Then verify it has been successful with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@vcenter&#91; ~ ]# chage -l root\nLast password change : Dec 21, 2021\nPassword expires : never\nPassword inactive : never\nAccount expires : never\nMinimum number of days between password change : 0\nMaximum number of days between password change : -1\nNumber of days of warning before password expires : 7<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>An appliance that was deployed over 90 days old with no changes made to the default settings. When attempting to logon to the VAMI console of the appliance i.e. https:\/\/vcenter.domain.com:5480 you get the message: \u201cException in invoking authentication handler User password expired\u201d. To resolve this you need to reset the password, then set it not &#8230; <a title=\"VMware vCenter &#8211; \u201cException in invoking authentication handler User password expired\u201d\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=4232\" aria-label=\"Read more about VMware vCenter &#8211; \u201cException in invoking authentication handler User password expired\u201d\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-4232","post","type-post","status-publish","format-standard","hentry","category-vmware"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4232"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4232\/revisions"}],"predecessor-version":[{"id":4233,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4232\/revisions\/4233"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}