• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 774
  • Last Modified:

Resetting Password in Virtualized Xubuntu Under VMWare Fusion

I use VMWare Fusion 3.1.2 on my MacBook (running OS X 10.6.8). Many months ago I created a virtual machine running Xubuntu 10.10. I have not used it in a long time and now I cannot remember the password. The VM was suspended, so I was able to restart it w/o being prompted to log in and I can get to a command prompt. But I cannot do anything that requires sudo b/c I don't remember the PW.

Is there some way I can reset the PW on this VM?
0
anuneznyc
Asked:
anuneznyc
1 Solution
 
alienvoiceCommented:
Can you access Single User Mode?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
How to reset your password in Ubuntu
http://www.psychocats.net/ubuntu/resetpassword
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Kerem ERSOYPresidentCommented:
Hi,

You can boot your ubuntu from the install image or the live CD you can download from ubuntu site.

Then follow this procedure:
- Indicate the .iso image file as the CD and boot your VM from the CD.
- Boot from the Live CD
- Find your boot partition using fdisk -l command and mount it to a directory
- Use chroot to the new path and now your / is set to the mounded partition.
- Now you can use the passwd command to change your passwd.

Here are detailed steps and screenshots from this operation:

http://www.howtogeek.com/howto/linux/reset-your-ubuntu-password-easily-from-the-live-cd/


Cheers,
K.

 
0
 
anuneznycAuthor Commented:
Was not able to access single-user mode or the GRUB menu from within this virtual machine.

KeremE, your instructions booting from Xubuntu CD worked. Thanks also for the link with the nice clear screenshots. That made the process completely painless.
0
 
PapertripCommented:
Was not able to access single-user mode or the GRUB menu from within this virtual machine.

Then you didn't read the instructions properly.

While the Live CD is a valid option, the overhead required to do it that way doesn't really make it worth it vs. the other options that were suggested.

hanccocka and I should have at least got Assisted Solution for this.
0
 
anuneznycAuthor Commented:
I read the instructions just fine. Maybe you didn't read my original post? This is Xubuntu virtualized under VMWare Fusion. I appreciate you pointing me in the right direction, but you and hanccocka's links are for regular installs, NOT for virtualized installls. I tried at least 10 different times to access the GRUB menu from within VMWare and was not able to do so. Maybe I was doing something wrong, but your links didn't help my particular situation. Hence why I used KeremE's suggestion which worked perfectly to successfully resolve my problem and that's why he got all the points.

0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now