Script to enable in-guest configuration for Linux password customization
search cancel

Script to enable in-guest configuration for Linux password customization

book

Article ID: 440019

calendar_today

Updated On:

Products

VMware Cloud Foundation VMware vSphere Foundation

Issue/Introduction

In the VMware Tools configuration, Linux password customization is implicitly disabled by default. The guest administrator must explicitly enable this option to allow Linux password customization.

Environment

VMware Cloud Foundation 9.1.0

VMware vSphere Foundation 9.1.0

Resolution

  • Ensure that VMware Tools version 10.1.0 or later is installed.
  • Launch the following command in the guest operating system to enable Linux password customization: 
        vmware-toolbox-cmd config set deployPkg enable-gosc-set-password true
  • (Optional) To check this option, launch the following command in the guest operating system:
        vmware-toolbox-cmd config get deployPkg enable-gosc-set-password