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.
regards,
BEGIN:VCARD
VERSION:4.0
N:Morris;Stephen;;;
FN:Steve
NICKNAME:Steve
EMAIL;PREF=1;TYPE=home:[email protected]
TZ:Australia/Melbourne
END:VCARD
--
_______________________________________________
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