Linoxide published a tutorial about how to add a user to Sudoers in AlmaLinux or Rocky Linux.
How to Add a User to Sudoers in AlmaLinux or Rocky Linux
Learn how to add a user to sudoers in AlmaLinux or Rocky Linux. This gives a current user to run programs with security privileges temporarily, by default the root user.