Solved

Changing ESX root password

Posted on 2008-10-17
4
1,467 Views
Last Modified: 2013-12-25
How to change ESX root password of multiple server using script.
0
Comment
Question by:riteshpandey
  • 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now