No sudo login in Fedora 37?

I’m new to Silverblue (coming from Pop! OS) and during the setup there was no prompt for a sudo login password. Did I miss that during the setup process or is it the same as the system login which was asked for during setup?

sudo on Fedora requires membership in the wheel group, not a separate password, see:

id; groups; sudo -l

I’m the only user so do I need to add myself using this?
Thanks.

This should be part of the default setup.
If you want to grant admin privileges to another user, then yes.

I’m not sure it’s part of the default setup.

I run sudo -v and it asks for a password. The only password I’ve created is the system password when starting but it fails.

[tom@fedora ~]$ sudo -v
[sudo] password for tom:
Sorry, try again.
[sudo] password for tom:

I get:
[tom@fedora ~]$ id; groups; sudo -l uid=1000(tom) gid=1000(tom) groups=1000(tom),10(wheel) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tom wheel [sudo] password for tom:

OK I think I have it. I guess the system password is the sudo password.

Thanks for looking at this.

wheel is the sudo group in Fedora Linux. It comes from the expression: “He/She is a big wheel in the companie”

Yes the user login you used to make the installation.

1 Like

Did the silverblue installer have make user admin tick box when you added your user? For kde plasma install i tick that box when i add my user.
That sets me up to sudo.

Thanks, I don’t remember that tick box but I think I’m good now. The system password I set up is also the sudo password.