Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm running Ubuntu server through VMPlayer but I don't know, nor can find the login credentials.

Can some one let me know please?

Thanks.

share|improve this question
add comment

2 Answers

If it has GRUB then select recovery mode. You should have a root shell. Look up adding users.

If you want to set a root password run passwd root

share|improve this answer
add comment

There really aren't any "default login credentials", so it sounds like you'll need to create a user for yourself. To accomplish this, you'll need to boot into recovery mode (as acematrix mentioned). Here's a link to a question/answer that describes how to do that: How can I re-instate my admin privileges?

With VMWare/Player it's a little tricky. You'll need to start it and then quick give the Ubuntu VM focus and hold down SHIFT before it boots. Follow the instructions in the question linked above, and invoke "recovery mode."

Once you're in, you'll want to add yourself as a user:

adduser new_user_name

Give it a password and provide any other info asked.

Adding user `new_user_name' ...
Adding new group `new_user_name' (1001) ...
Adding new user `new_user_name' (1001) with group `new_user_name' ...
Creating home directory `/home/new_user_name' ...
Copying files from `/etc/skel' ...
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
Changing the user information for new_user_name
Enter the new value, or press ENTER for the default
    Full Name []: tester
    Room Number []: 
    Work Phone []: 
    Home Phone []: 
    Other []: 
Is the information correct? [Y/n] Y

Then, add this user to the admin and sudo groups (assuming that you want your user to have the ability to "sudo").

adduser new_user_name admin
addgroup new_user_name sudo

Then reboot and login as your new user.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.