This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vmware:vcsa8:chgrootpw [2023/07/24 12:41] – js | vmware:vcsa8:chgrootpw [2023/07/24 12:45] (current) – js | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== VCSA - Change root password to already used one ====== | ====== VCSA - Change root password to already used one ====== | ||
- | Reboot VCSA and press <code>e</code> in the photon boot menu (grub): | + | Reboot VCSA and press <wrap em>e</wrap> in the photon boot menu (grub): |
{{ : | {{ : | ||
- | Add in the kernel | + | Add in the linux line at the end <wrap em>rw init=/ |
{{ : | {{ : | ||
- | Then go to /etc/pam.d directory. | + | Press <wrap em> |
Open vi and file system-password: | Open vi and file system-password: | ||
Line 13: | Line 13: | ||
<code bash>vi / | <code bash>vi / | ||
- | Change | + | Change |
{{ : | {{ : | ||
Now start passwd and enter your old root password and reboot the VCSA with < | Now start passwd and enter your old root password and reboot the VCSA with < |