This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
vmware:esxi5:rootpw [2024/09/17 08:35] – js | vmware:esxi5:rootpw [2024/09/17 08:42] (current) – js | ||
---|---|---|---|
Line 18: | Line 18: | ||
- open shardow file with vi: <code bash>vi shadow</ | - open shardow file with vi: <code bash>vi shadow</ | ||
- delete the password hash after the root account (press i, go to the : and delete all the chars until the next : ) \\ {{: | - delete the password hash after the root account (press i, go to the : and delete all the chars until the next : ) \\ {{: | ||
- | - save file and exit (save with ESC + qw + ENTER) \\ \\ | + | - save file and exit (save with ESC + :wq + ENTER) \\ \\ |
- go one dir up: <code bash>cd ..</ | - go one dir up: <code bash>cd ..</ | ||
- pack the new local.tgz: <code bash>tar czf local.tgz etc</ | - pack the new local.tgz: <code bash>tar czf local.tgz etc</ |