LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   My password is not working for root (https://www.linuxquestions.org/questions/linux-newbie-8/my-password-is-not-working-for-root-4175463474/)

TheCorporation 05-26-2013 04:29 AM

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

EricTRA 05-26-2013 04:37 AM

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

TheCorporation 05-26-2013 05:07 AM

Quote:

Originally Posted by EricTRA (Post 4959106)
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:)

EricTRA 05-26-2013 05:10 AM

Hi,

Those things happen....

Kind regards,

Eric

colin.p 05-26-2013 05:47 AM

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

Habitual 05-26-2013 07:50 AM

Quote:

Originally Posted by TheCorporation (Post 4959101)
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.

13stein.j 05-26-2013 08:39 PM

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.

13stein.j 05-26-2013 08:42 PM

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.

suicidaleggroll 05-26-2013 08:44 PM

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?


All times are GMT -5. The time now is 02:58 PM.