Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

The sos --password-health in VMware Cloud Foundation is in RED status after setting the password expiration date for the root account on the vCenter & PSC to "Never Expired" (56581)

Last Updated: 2/7/2019Categories: InformationalTotal Views: 7442Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

After setting the root password expiration date on the VC & PSCs to never expired, the /opt/vmware/sddc-support/sos --password-health command will report that the Password Expired status is RED, and the vCenter  and PSC  Password Expiry state value will show as "Failed to get details".

/opt/vmware/sddc-support/sos --password-health
Password Expiry Status : RED
+-----+---------------------------------------------+------------+-------------------+--------------+-----------------+-----------------------+
| SL# |                  Component                  |    User    | Last Changed Date | Expiry Date  | Expires in Days |         State         |
|  5  |          PSC : psc-1.vcf.corp.local         |    root    |    Jun 25, 2018   |    never     |        -        | Failed to get details |
|  6  |          PSC : psc-2.vcf.corp.local         |    root    |    Jun 07, 2018   | Sep 05, 2018 |     62 days     |         GREEN         |
|  7  |      vCenter : vcenter-1.vcf.corp.local     |    root    |    Jun 25, 2018   |    never     |        -        | Failed to get details |
+-----+---------------------------------------------+------------+-------------------+--------------+-----------------+-----------------------+

​You see messages similar to the following in the  /var/tmp//healthcheck-<date>/sos.log on the SDDC Manager Controller VM.

2018-07-05T21:00:33.351Z [DEBUG commandutils.py::run_cmds_over_ssh::379::get_passsword_expirationThread0] server: 192.168.16.22 --- stderr:
2018-07-05T21:00:33.351Z [INFO util.py::get_passsword_expiration::2304::get_passsword_expirationThread0] Failed to get password expiration information for user root on : psc-1.vcf.corp.local
2018-07-05T21:00:33.351Z [ERROR util.py::get_passsword_expiration::2308::get_passsword_expirationThread0] 'never' is not in list
2018-07-05T21:00:33.352Z [ERROR util.py::get_passsword_expiration::2309::get_passsword_expirationThread0] Traceback (most recent call last):
File "utils/util.py", line 2273, in get_passsword_expiration
ValueError: 'never' is not in list

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.​

Resolution

This is a known issue affecting VMware Cloud Foundation 2.3.2. There is currently no resolution.

Workaround

vCenter Single Sign-On passwords expire after 90 days by default. The vSphere Web Client reminds you when your password is about to expire.

For security reasons, VMware recommends changing the passwords for the built-in accounts that are used by your Cloud Foundation system. Changing these passwords periodically or when certain events occur, such as an administrator leaving your organization, reduces the likelihood of security vulnerabilities occurring.

Related Information

Set the vCenter & PSC Single Sign-On passwords password expiration policy from "Never Expired"  to expires after a particular number of days of your choice. See Edit the vCenter Single Sign-On Password Policy.

Set the vCenter & PSC root password expiration policy from "Never Expired"  to expires after a particular number of days of your choice.

ssh to the target vCenter/PSC virtual appliance as the root user.

Issue the shell command.

Note: If you are asked to reset the password, set it to the same one as returned by the /home/vrack/bin/lookup-passwords command on the SDDC Manager Controller VM.

Use the chage -M command to change the password expiration policy, per the following example:

chage -M 90 root

Note: This example sets the password expiration to 90 days. Setting this value to 10000 is the same as setting it to never expire.

Issue the chage -l root command to validate the change.

Note: You will see output similar to the following:

Last password change                                    : Jan 10, 2019
Password expires                                        : Apr 10, 2019
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 90
Number of days of warning before password expires       : 7

Issue the following commands to restart the applmgmt service:

service-control --start applmgmt
service-control --stop applmgmt

Issue the /opt/vmware/sddc-support/sos --password-health command to validate that there are no further issues.

Change the Password of the Root User

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Cloud Foundation

Related Versions:

VMware Cloud Foundation 2.3.x

Take Our Survey

Support Assistant