Solved

Changing ESX root password

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

821 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