1

I am working on Ubuntu 12.04 using VMware.

While working in that, VMware suddenly hung and Ubuntu restarted. It's asking me to log in as user and guest session.

I have tried using password as the password for user, but it didn't work.

I can't enter without password. Can anyone help me out?

Kevin Bowen
  • 19,615
  • 55
  • 79
  • 83
rock_buddy
  • 11
  • 1
  • 1
  • 2
  • Did you complete the installation process yet? – guntbert Aug 19 '13 at 09:23
  • Yes completed it.. I think the 2D-shell giving the problem.. That is uninstalled.. – rock_buddy Aug 19 '13 at 09:38
  • Have you installed from scratch or are you using some of the Vmware images you can find around? In the first case you have plenty of answers here, in the second one you should see what the default user/password is for the preinstalled image. – Rmano Nov 22 '13 at 15:59

7 Answers7

2

By default the password for any guest user is disabled. So you don't have to enter any password for guest.

Also, by default, Ubuntu doesn't have any user named "user", only if you created one with this name and only you should know the password for this account in this case. If you don't remember it, see: How do I reset a lost password (using recovery mode requires me to type the password)?

Radu Rădeanu
  • 169,590
1

Reboot your system and select Advanced options from grub. Then select Ubuntu (recovery mode) and create new user or change password for existing:

Creating new user:

adduser <username>

(replace <username> with the accountname you want to use)

Now just follow the steps and fill the information:

Adding user "new_user"
Adding new group "new_user" (1004).
Adding new user "new_user" (1004) with group "new_user.
Creating home directory "/home/new_user".
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for new_user
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is this information correct? [y/N] y
guntbert
  • 13,134
Deus
  • 178
  • 1
  • 9
1

There is no default user (and therefore no default password) on Ubuntu. The guest user cannot perform any administration tasks at all.

As you completed the installation you must have chosen a username (and a password) during that process. Use that username and password to access your machine.

If you cannot remember the password see this answer to How do I reset a lost password

If the VM is brand new (and if the above process gives you troubles) it might be easier just to reinstall (and take note of some crucial settings).

guntbert
  • 13,134
0

Pw for Vbox is going to be

  • changeme

for the guest by default no spaces if lowercase dosent work try uppercase as shown below

Changeme

-1

Greetings from the Dakota's! I came looking after an apt-get update messed up my new (very old stock!) PCduino. She worked great with the original Lubuntu on it, I was doing all my old favorite Linux functions and having a ball. Then I rebooted, and BANG! I couldn't do squat. I could not log in as ubuntu as it wanted me to, it would not take the ubuntu password, so I logged in as guest and it wouldn't let me sudo or su. So I began messing around and looking all over the web for a good answer, never really found one, but then it came to me, try ubuntu password for sudo on the guest account, didn't work very well, so I tried su with that password and I was IN! I quickly made myself an account with my name, then added myself to the SUDO list and I am again off and running with my new little toy. Sure wish the EBAY seller would have told me he was selling me a gizmo that was 5 years out of date and 3 generations of processor behind the current type, but I guess for ten bucks you can't expect the Cadillac, you need to be happy with the Chevy of the line,.

  • So you were able to su to your usual user account using your own password from the guest account :) Not sure that helps with the situation described in the question here, but maybe will help some future visitor join the dots. – Zanna Nov 08 '20 at 01:30
-1

The Ubuntu 14 image I have for VMware has passwords defaulted to "password". I attempted to use sudo. It asked for "password for user". I typed "password" (without the quotes) and sudo completed the operation.

-2

I had the same experience. In my case I tried and the default administrator's password was "ubuntu".

RolandiXor
  • 51,541