Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vmware:vcsa8:chgrootpw [2023/07/24 12:42] jsvmware:vcsa8:chgrootpw [2023/07/24 12:45] (current) js
Line 4: Line 4:
 {{ :vmware:vcsa8:vc-root-change-pw-photon-menu.png?direct |}} {{ :vmware:vcsa8:vc-root-change-pw-photon-menu.png?direct |}}
  
-Add in the linux line at the end <code>rw init=/bin/bash</code>:+Add in the linux line at the end <wrap em>rw init=/bin/bash</wrap>
 {{ :vmware:vcsa8:vc-root-change-pw-boot-line.png?direct |}} {{ :vmware:vcsa8:vc-root-change-pw-boot-line.png?direct |}}
  
-Then go to /etc/pam.d directory.+Press <wrap em>F10</wrap>e and then go to /etc/pam.d directory.
  
 Open vi and file system-password: Open vi and file system-password:
Line 13: Line 13:
 <code bash>vi /etc/pam.d/system-password</code> <code bash>vi /etc/pam.d/system-password</code>
  
-Change rember=5 (or other count) to 0:+Change <wrap em>remember=</wrap>5 (or other count) to <wrap em>0</wrap>:
  
 {{ :vmware:vcsa8:vc-root-change-already-used-pw.png?direct |}} {{ :vmware:vcsa8:vc-root-change-already-used-pw.png?direct |}}
  
 Now start passwd and enter your old root password and reboot the VCSA with <code>reboot</code> Now start passwd and enter your old root password and reboot the VCSA with <code>reboot</code>