Solved

Changing ESX root password

Posted on 2008-10-17
4
1,478 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

632 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