LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Root password no longer works? (https://www.linuxquestions.org/questions/fedora-35/root-password-no-longer-works-4175606859/)

bscho 05-28-2017 10:02 PM

Root password no longer works?
 
Found my root password no longer works. I found as a user the password still works in a terminal and can su and make a root terminal. I have tried passwd and changed the password but still cannot switch to root user.
I will be amazed if someone can solve this one. Any ideas thanks?

Ztcoracat 05-28-2017 10:50 PM

Your profile shows that your running Fedora 23:-
FC 23 EOL was December of 2016.

The current version of Fedora is 26.

https://getfedora.org/en/workstation/

Have you set up sudo?

bscho 05-29-2017 12:06 AM

Quote:

Originally Posted by Ztcoracat (Post 5716381)
Your profile shows that your running Fedora 23:-
FC 23 EOL was December of 2016.

The current version of Fedora is 26.

https://getfedora.org/en/workstation/

Have you set up sudo?

Yes, I am running Fedora 26.
have set up sudo and in a su terminal the password works.

If I do not get an answer I'll update to Rawhide. If that doesn't work I'll do a fresh install of Rawhide.

Thanks

Ztcoracat 05-29-2017 12:26 AM

Quote:

Originally Posted by bscho (Post 5716397)
Yes, I am running Fedora 26.
have set up sudo and in a su terminal the password works.

If I do not get an answer I'll update to Rawhide. If that doesn't work I'll do a fresh install of Rawhide.

Thanks

I thought setting up sudo and running passwd and changing it would of worked.
Sorry to hear it had no effect.

I'd most likely do a fresh installation too.

bscho 05-29-2017 12:59 AM

Quote:

Originally Posted by Ztcoracat (Post 5716400)
I thought setting up sudo and running passwd and changing it would of worked.
Sorry to hear it had no effect.

I'd most likely do a fresh installation too.

I am hanging on for a couple of days maybe someone has seen this before?
Then I'll upgrade which I don't think will work. Finally I'll do a fresh installation.
Thanks

Ztcoracat 05-29-2017 01:55 PM

Ok sounds like a good plan.

I found this video mentioned in my Red Hat book. May or may not work on Fedora?

https://www.youtube.com/watch?v=srJSupBLuAI

Last thing I could think of.-;)

Have a nice Memorial Day!

Doug G 05-29-2017 03:12 PM

A small correction, Fedora 25 is the current version. Fedora 26 is an alpha release at the moment.

https://fedoraproject.org/wiki/Releases

Ztcoracat 05-29-2017 04:51 PM

Quote:

Originally Posted by Doug G (Post 5716643)
A small correction, Fedora 25 is the current version. Fedora 26 is an alpha release at the moment.

https://fedoraproject.org/wiki/Releases

I generally won't run an alpha release.
Best to wait for the developers to get the kinks out. But that's just me.

Have you ever experienced this root password issue Doug G?

wpeckham 05-29-2017 05:16 PM

Quote:

Originally Posted by bscho (Post 5716368)
Found my root password no longer works. I found as a user the password still works in a terminal and can su and make a root terminal. I have tried passwd and changed the password but still cannot switch to root user.
I will be amazed if someone can solve this one. Any ideas thanks?

OK, this is just confusing. Let us see if we can clear this up.

In a terminal, you can log in as a user then use
Code:

su -
to become the root user, right?

When that works, you are seeing the root password work just fine.
Under what conditions do you see it NOT work?

!!! 05-29-2017 07:16 PM

GUI involved? This? http://forums.fedoraforum.org/showthread.php?t=230623

Laserbeak 05-29-2017 07:30 PM

Some systems are set up such that you can't directly login as root, you have to login as a regular user and su to root, especially over a network connection. You're not very clear as to when it doesn't work, as it seems to say you can su to root, enter the root password, and it works.

Doug G 05-29-2017 10:46 PM

Quote:

Originally Posted by Ztcoracat (Post 5716682)
I generally won't run an alpha release.
Best to wait for the developers to get the kinks out. But that's just me.

Have you ever experienced this root password issue Doug G?

Nope. I use Xfce, and regularly su from a terminal window or connect as root using a ssh connection. Never had a problem. I don't recall the last time I may have tried to logon the GUI as root, and I'm not sure if I could.

I've never had any passwords on any Fedora system spontaneously change, and I've used Fedora since Fedora Core 1

Ztcoracat 05-29-2017 11:45 PM

Quote:

Originally Posted by Doug G (Post 5716781)
Nope. I use Xfce, and regularly su from a terminal window or connect as root using a ssh connection. Never had a problem. I don't recall the last time I may have tried to logon the GUI as root, and I'm not sure if I could.

I've never had any passwords on any Fedora system spontaneously change, and I've used Fedora since Fedora Core 1

Yeah, I use XFCE too.
I'm sure you could login again to a GUI it's just that if you don't do it for a while you forget.

Thanks for letting us know the password has never done this on your system.

Since FC is the test bed for RH I'm thinking this could very possibly be a bug.;)

Ztcoracat 05-29-2017 11:48 PM

bscho:

With using su - can you update as root running dnf update?

Or doesn't the root password fail and you can not update at all?

Doug G 05-30-2017 12:24 AM

Quote:

Originally Posted by Ztcoracat (Post 5716791)
bscho:

With using su - can you update as root running dnf update?

Or doesn't the root password fail and you can not update at all?

If you're asking me, the only way I ever use yum/dnf is from a root terminal (su -). I've never had a problem. I have used dnf --system-upgrade and earlier fedup to do version upgrades, my main Fedora 25 workstation started life as a Fedora 20.

Oh, dnf update is deprecated, now it's dnf upgrade, although either works.

[EDIT]Oops, I see you addressed your queston to another poster, sorry for wasting time[/EDIT]


All times are GMT -5. The time now is 06:48 AM.