Solved

Changing ESX root password

Posted on 2008-10-17
4
1,476 Views
Last Modified: 2013-12-25
How to change ESX root password of multiple server using script.
0
Comment
Question by:riteshpandey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 125 total points
ID: 22745425
login as root
type:

passwd <username>
prompted for new password
prompted to verify password

When you are typing the password in the cursor does not move or display any characters.
0
 
LVL 18

Accepted Solution

by:
sk_raja_raja earned 125 total points
ID: 22745442
1.You can use something like putty.
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
It gives you options to script access to ESX so with this you can script connecting to ESX servers change the password disconnect and move on to the next.

2.Ref the comment from Texiwell on thisvmware forum,
http://communities.vmware.com/thread/135724
0
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 125 total points
ID: 22745447
0
 

Author Comment

by:riteshpandey
ID: 24128134
Here is what I did... But this is limited to a single ESX only. I am still looking for a script which will do the same in multiple ESX Host at one time.
1. Shutdown and Reboot your VMware ESX Server
2. Press "a" to modify the kernel arguments
3. Enter single user mode
4. Now, change the root password using the passwd command. You will need to enter the new root password twice.
5. Once you have reset the root password, reboot the server to go back into multi-user mode
6. Verify the new password
7. Resetting the VMware ESX Server root password is not difficult but you will have to bring down the server, enter single user mode, use the passwd command, and reboot to get the task completed.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question