When you create a new user on Fedora during the setup steps, there’s a checkbox to add the user to the administers group, which allows them to sudo commands. If you forget to check this box, you can add the user to the sudoers group like this:
echo 'loginname ALL=(ALL) ALL' >> /etc/sudoers