On 1 Nov 2025 at 17:47, Samuel Sieb wrote:
Date sent: Sat, 1 Nov 2025 17:47:33 -0700
Subject: Re: Issue with Fedora 43 difference with gedit and
geany with root
user.
To: [email protected]
From: Samuel Sieb <[email protected]>
Send reply to: Community support for Fedora users
<[email protected]>
> On 11/1/25 5:39 PM, Stephen Morris wrote:
> >> On 11/1/25 5:25 PM, Stephen Morris wrote:
> >>>> On 11/01/2025 05:56 PM, Stephen Morris wrote:
> >>>>>
> >>>>> Hi Samuel, just for info and I don't know if this is just my
> >>>>> environment, if I issue sudo -i it prompts for my password, which
> >>>>> when supplied it switches to root as expected. If I issue su - it
> >>>>> prompts for a password and if I supply my password it gets an
> >>>>> authentication failure, which I assume is because it wants a root
> >>>>> user which by default Fedora doesn't create.
> >>>>
> >>>> So use sudo -i and while you're root, run passwd to set a root
> >>>> password.
> >>> Thanks Joe, I hadn't understood that feature, but unless my
> >>> environment was defective, I thought that fedora didn't even create
> >>> the root user as a user that could be logged in with if you wanted to.
> >>
> >> There's always a root user. That's what sudo and su are doing,
> >> switching you to that user. sudo just does it with an suid executable
> >> so that root doesn't need to have a password.
> >>
> > I was referring to the situation where in the past (I don't remember
> > what the requirement was) I had a situation where I needed to login with
> > the root user and I couldn't do it because the root user didn't exist,
> > and I had to do a net search to find instructions on how to create the
> > root user so that I could login with it.
>
> You never had to *create* the root user, you had to set its password.
> This can actually be a problem when the boot fails, because the minimal
> environment asks for the root password to continue. But there are
> generally other better ways to deal with that situation.
>
I'm confused here? Most of the time I've done the dnf upgrade, so
system has already had a root user.
Did a clean install on one machine a while ago, and it had a root id
and when ran su it would not except the password I used for my
user? Assumed it would have done so, but ended up having to use
sudo to change the password for the root, user and it worked fine
with that password.
The is same computer I just upgraded to Fedora 43?
Just a test on that machine with my regular user id, and got this?
msetzerii@setzcodell2:~$ dnf update -y
The requested operation requires superuser privileges. Please log
in as a user with elevated rights, or use the "--assumeno" or
"--downloadonly" options to run the command without modifying
the system state.
So only users on system are msetzerii and root.
Again, clean install of Fedora 42, and now dnf upgrade to 43.
So, note sure if it had created a root user with some default
password I was not aware of, but sudo allowed my regular user to
change the password for root user.
Did upgrade that had a 162 items, then ran again, so only the failed
winehq remained.
Doing a dnf update after su to root.
root@setzcodell2:/# dnf update
Updating and loading repositories:
Repositories loaded.
Problem 1: cannot install the best update candidate for package
wine-devel-1:10.17-1.1.x86_64
- nothing provides wine-missing-buildrequires-on-OSMesa needed
by wine-devel-1:10.18-2.1.x86_64 from WineHQ
Problem 2: package winehq-devel-1:10.18-2.1.x86_64 from
WineHQ requires wine-devel = 1:10.18-2.1, but none of the
providers can be installed
- cannot install the best update candidate for package
winehq-devel-1:10.17-1.1.x86_64
- nothing provides wine-missing-buildrequires-on-OSMesa needed
by wine-devel-1:10.18-2.1.x86_64 from WineHQ
Package Arch Version
Repository Size
Skipping packages with broken dependencies:
wine-devel x86_64 1:10.18-2.1
WineHQ 1.4 GiB
winehq-devel x86_64 1:10.18-2.1
WineHQ 62.0 KiB
Nothing to do.
So, the /root user using /root directory
So, should there not be root user by default.
Thanks.
Always, more to learn.
>
> --
> _______________________________________________
> users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/[email protected]
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:[email protected]
mailto:[email protected]
mailto:[email protected]
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue