Alma Linux 9.2 on Raspberry Pi

I downloaded the image AlmaLinux-9-RaspberryPi-GNOME-9.2-20230615.aarch64.raw from the website. I used the Raspberry Pi Imager to deploy the image onto a Raspberry Pi flash drive. When deploying the image to the flash drive using Raspberry Pi Imager, I selected the default user “pi” and set a password. I connected via SSH. My user “pi” does not have superuser (root) privileges.
That’s correct. As the “pi” user does not have superuser privileges, you may be limited in performing certain actions that require administrative access. If you need to perform tasks that require superuser privileges, you can either switch to the root user using the “su” command and provide the root password, or use the “sudo” command before the desired command to execute it with superuser privileges. [pi@localhost ~]$ sudo dnf update
[sudo] password for pi:
pi is not in the sudoers file. This incident will be reported.
[pi@localhost ~]$

Reply 1.3 years later: I’m having the same issue.

I suspect the problem is on Raspberry Pi Imager side: it assumes the underlying OS to be Debian-like, where the sudoers group is “sudo” and not “wheel” (as it is the case on Red Hat based Linuxes, or BSD based Unixes.)

Best option is to clear all customisation settings in the Raspberry Pi Imager before formatting, or using another imager.

Yeah, don’t use the OS customization feature.

TIP
Do not use OS customization feature built in RPi Imager. AlmaLinux doesn’t support the feature and it conflicts with our initialization process such as default user creation.