FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Rep:
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?
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Original Poster
Rep:
Quote:
Originally Posted by Ztcoracat
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
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?
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.
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
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.
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]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.