Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-13-2011, 11:03 PM   #1
Registered: Jul 2011
Posts: 118

Rep: Reputation: Disabled
Can't login to Root

When I try to login to root I get the message "login incorrect". I just installed Ubuntu 11.04 on a Lenovo Z560 laptop. I do not know anything about Linux. When I do a ctrl alt F1 to a command prompt and enter "su" and then the root password it tells me that the login was incorrect. I used the same password for everything so it should be correct. I am able to go into "Users and Groups" and change my user from custom to administrator but su and sudo don't like my password. I reinstalled Ubunto over itself but I got the same results. I am not sure how well reinstalling Ubunto over itself worked because I noticed that Firefox had the same customized setting as before. Do I have to do something else to setup the root password?
Old 07-13-2011, 11:19 PM   #2
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
The root user is not used in Ubuntu by default, though using sudo with an administrative command should. Also, you should be able to get around this by typing:

sudo passwd root
Then enter your password. You will be prompted to create and confirm a password for root, once doing so you should be able to log in with that user name.
1 members found this post helpful.
Old 07-13-2011, 11:37 PM   #3
Registered: Jul 2011
Posts: 118

Original Poster
Rep: Reputation: Disabled
Sudo prompts for password

Thank you for the information. I didn't know that root was not used by Ubuntu. I was able to login with my userid and run sudo so I am off to the next problem.

Thank you


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 05:27 PM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 09:28 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 04:44 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 12:39 PM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-06-2004 12:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration