On 11/1/25 4:56 PM, Stephen Morris wrote:
On 11/1/25 1:33 AM, Michael D. Setzer II wrote:
On 1 Nov 2025 at 0:12, Samuel Sieb wrote:
How exactly are you getting to root? Did you see the other emails about
that?
msetzerii@setzcodell2:~$ su
Password:
root@setzcodell2:/home/msetzerii#
Did you miss the explanations in the other emails?
You need to use "sudo -i" or "su -" so you get a login shell with
root's environment instead of dragging in the user's environment.
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.
Sure, that's the difference between su and sudo. su takes the target
user (default root) password and sudo uses the current user password.
Fedora doesn't set a root password by default, but I assume he's done
that himself.
--
_______________________________________________
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