Computer Hope

Software => BSD, Linux, and Unix => Topic started by: cactuslizard on September 22, 2009, 03:08:30 PM

Title: Wrong username/password in Ubuntu
Post by: cactuslizard on September 22, 2009, 03:08:30 PM
I am recently new to Ubuntu. Yesterday I installed Ubuntu 9.04 alongside my primary OS, which is XP Pro. I finished the install and went to log in to Ubuntu, but it says that I did not have the correct password/username. How can I recover my password and username?
Title: Re: Wrong username/password in Ubuntu
Post by: manadude2 on September 22, 2009, 03:13:54 PM
You should enter the username and password you set during installation.

You could try:

Username: root
Password: linux

If you log in to Ubuntu with this log in, CREATE A NEW USER IMMEDIATELY, LOG OUT, THEN INTO THE NEW USER ACCOUNT!

NEVER, unless absolutely necessary, log in as root.

Or:

If you can't remember the username or password AT ALL or the above doesn't work, reinstall and set a username and password you can remember.



Title: Re: Wrong username/password in Ubuntu
Post by: cactuslizard on September 22, 2009, 03:53:53 PM
I will have to try root/linux to login. The username and password are the same as what I use for Windows, I even checked my spelling and the case I used, so it should have worked.
Title: Re: Wrong username/password in Ubuntu
Post by: alan2273 on September 22, 2009, 03:54:57 PM
If the post above does not work try this.

boot to the grub screen, watch closely, you will have to press escape
key to get there.  choose recovery kernel.  in the menu, choose drop to
root shell.  use the command useradd followed by the username you want
to add.  then the command passwd followed by the username you just
created to create the password.  reboot, and login.
Title: Re: Wrong username/password in Ubuntu
Post by: Fed on September 22, 2009, 04:00:36 PM
Don't forget your linux is case sensitive.
Title: Re: Wrong username/password in Ubuntu
Post by: cactuslizard on September 27, 2009, 02:47:27 PM
I got it, my username was just my first name. Works fine. Thanks a lot!
Title: Re: Wrong username/password in Ubuntu
Post by: pimvdh on October 01, 2009, 08:13:13 AM
you need root for administration tasks, so unless you are a admin, (or foget your password :P) don't log on to Root.

I did and now I F*** it up. lucky it's a virtual pc.
Title: Re: Wrong username/password in Ubuntu
Post by: benaloy on November 18, 2009, 08:10:54 PM
I got it, my username was just my first name. Works fine. Thanks a lot!

Am old w/o much computer skill - - -  Wish to try Ubuntu - - - An install Cd on the way to me - - - please give me a few tips from your experience - - - Much grateful to you.
Thank you very much indeed,
ben aloy
Title: Re: Wrong username/password in Ubuntu
Post by: TheUnixGuy on November 27, 2009, 09:04:11 AM
Hello,

The root user has a randomly generated password! Having a predefined password for the root user would itself be a security flaw in Linux.
Title: Re: Wrong username/password in Ubuntu
Post by: james202428 on November 28, 2009, 03:28:32 PM
I forgot my password i would just reload it it only takes about 45 minutes for my computer