LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-26-2013, 05:29 AM   #1
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Rep: Reputation: Disabled
My password is not working for root


Hi,

My password is not working for root. Any ideas how to fix this problem?

It is Ubuntu OS
 
Old 05-26-2013, 05:37 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

I'm not an Ubuntu user but I seem to recall that Ubuntu doesn't allow by default logging in as root. Or did you enable that? If you enabled logging in as root for your system and your password is not accepted then you can boot in single user mode to reset the password.

Kind regards,

Eric
 
1 members found this post helpful.
Old 05-26-2013, 06:07 AM   #3
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EricTRA View Post
Hello,

I'm not an Ubuntu user but I seem to recall that Ubuntu doesn't allow by default logging in as root. Or did you enable that? If you enabled logging in as root for your system and your password is not accepted then you can boot in single user mode to reset the password.

Kind regards,

Eric
I don't think I enabled it now that I think about it. I was using CentOS before this and guess I got the two mixed up.

Thanks
 
Old 05-26-2013, 06:10 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Those things happen....

Kind regards,

Eric
 
Old 05-26-2013, 06:47 AM   #5
colin.p
LQ Newbie
 
Registered: Feb 2009
Location: Ottawa Canada
Distribution: ubuntu 14.04 LTS
Posts: 12

Rep: Reputation: 0
If someone wants to reset their password (because they forgot it) here is a detailed way to do it:
http://www.psychocats.net/ubuntu/resetpassword
 
Old 05-26-2013, 08:50 AM   #6
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,159
Blog Entries: 10

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Quote:
Originally Posted by TheCorporation View Post
Hi,

My password is not working for root. Any ideas how to fix this problem?

It is Ubuntu OS
Just a thought: About 1,840 results all sponsored from searching https://help.ubuntu.com/ for "root password reset" without quotes.

https://help.ubuntu.com/community/CommandLineResources

Go, and sin no more.
 
Old 05-26-2013, 09:39 PM   #7
13stein.j
Member
 
Registered: May 2013
Location: Brooklyn, New York
Distribution: Linux Mint 15/Ubuntu 13.10/Debian 7/SUSE 11.x/openSUSE 12.3/RHEL 6.4/Fedora 18/Slackware, and 5 more
Posts: 111

Rep: Reputation: 6
You can always login to a normal account, and then run sudo passwd root and then type a password to change the root password, without knowing the previous one. To login to a root gui, you need to edit lightdm.conf, I forget what exactly will post back a soon as I remember.
 
Old 05-26-2013, 09:42 PM   #8
13stein.j
Member
 
Registered: May 2013
Location: Brooklyn, New York
Distribution: Linux Mint 15/Ubuntu 13.10/Debian 7/SUSE 11.x/openSUSE 12.3/RHEL 6.4/Fedora 18/Slackware, and 5 more
Posts: 111

Rep: Reputation: 6
To be able to login to root gui after setting a password to root, run the following,sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf', and restart, then manually login as root, and then your root password.
 
Old 05-26-2013, 09:44 PM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Ubuntu does not have a root account (at least not one that's easily accessible). Ubuntu is one of the few distros who's creators have decided that the root account is "evil", and instead chooses to grant the first user that is created unlimited power through "sudo". In essence, the first user that is created IS root, they just need to stick a "sudo" in front of any root-like commands in order to be granted root power. How this is an improvement in security is lost on me...

If you'd like to enable the real root account, you can do so by following post #7. Keep in mind that doing this is considered "blasphemy" on the Ubuntu forums, and from what I hear can actually get you banned. Dogma much?

Last edited by suicidaleggroll; 05-26-2013 at 09:49 PM.
 
  


Reply


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
sudo - root password not working Valkyrie_of_valhalla Linux - Software 3 03-11-2007 02:01 PM
Root password not working neilthereildeil Linux - General 11 06-01-2006 01:33 PM
Root password not working... neilthereildeil Linux - General 5 05-27-2006 02:55 PM
root password not working for su brenainn Linux - Security 1 10-08-2005 05:40 AM
root's password not working under X blind_chipmunk Linux - General 8 05-12-2005 11:38 AM


All times are GMT -5. The time now is 08:21 PM.

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