Problems logging into my SU

Okay so when I installed Fedora I created a user account password. Then I created the super user password when I installed Fedora. For some reason I can no longer get into super user. I only have one password I set for my account that I remember and one password for my SU account.
What I find very weird and odd is to log into the system upon a reboot from it being turned off I have to put in the SU password before it will log into the user account but when I open a shell and type: su enter when I type my password in it keeps telling me that password is wrong I don’t get it what am I doing wrong.

Does the sudo command work ok with your own normal user password?

I also don’t quite grok when you mean by “to log into the system upon a reboot from it being turned off I have to put in the SU password before it will log into the user account”. Your machine fires up boots, displays the greeter screen (and as you haven’t indicated in the rags if you using Gnome or KDE (or something else) I can’t tell if it’s gdm or sddm, or some other greeter you’ve configured but nevertheless; at that point, are you required to enter the password for your “Shaun” account or are you required to enter the root password?

I am using the cosmic desktop environment. I am required to enter the password for my Shaun account but before it boots into the Shaun user account screen I have to type the SU account password first. Once I type the Shaun account user password and I log into the cosmic desktop when I open a terminal and type su and try to enter the su account password it just says su: Authentication failure and I know I am typing the su password in correctly.

Any chance you could record this on your phone or something and demonstrate it, just to remove all doubts of what is happening?

If I visualise what you’re describing, it sounds like you get the greeter which is defaulting to Shaun, you enter Shauns password and then you’re prompted for another password which wants the root account password to proceed.

I can only assume it’s to mount something, like a remote filesystem or something along those lines… maybe to unlock a keyring perhaps?

I resolved the problem so what I had to do was type: sudo -s enter then type in my password for the shaun account to get SU. This fixed my problem.

Are you aware of run0? Sounds like it would resolve your immediate issue with some desire to run a root shell rather than using a command running as root.

Still does not work for some reason with the run0 command.

In the absence of any output, logs or any kind of evidence of what is happening on your machine… /shrug

run0 uses your user account password to give you a root shell assuming you’re in the wheel group.

sudo runs a command as the command owner if you’re in the wheel group.

If one works, then I would expect the other to. Maybe something is sub-optimal in your environment.

After I tried it with my user password it worked.