VMware Cloud Community
dzthomas
Contributor
Contributor

Root password on ESX3i

Hi.I need help. Can the root password be set remotely using remote cli. I'm trying to automate the installation process.Also is is possible to edit webAccessibleConfigFiles.xml to access files such as /etc/shadow before installation. I mean I know it works if you modify it through the console by pressing alt-f1. I need to edit that file before it is installed. I see the file is present in binmod.tgz,but editing the file did'nt help. Thx in advance.

0 Kudos
3 Replies
nick_couchman
Immortal
Immortal

I don't know of a way to automate the ESXi install process at all.

0 Kudos
Dave_Mishchenko
Immortal
Immortal

You can use esxcfg-user.pl to change the password

esxcfg-user.pl --server -e user -o modify

You could create a custom copy of webAccessibleConfigFiles.xml and then put that into oem.tgz, but with that change you would have an unsupported server.

0 Kudos
admin
Immortal
Immortal

It can be set post-install from the SDK using the rcli or one of the other interfaces (Java, Perl, PowerShell, etc). http://communities.vmware.com/message/1015838 shows how to do it from PowerShell. You have to be directly connected to ESXi, not through Virtual Center.

0 Kudos