The sudo command provides a mechanism for granting administrator privileges — ordinarily only available to the root user — to normal users. This guide will show you how to create a new user with sudo access on your server without having to modify the /etc/sudoers file. Choose your server’s operating system below to get started.
How To Create a New Sudo-enabled User on CentOS 8 [Quickstart]
How To Create a New Sudo-enabled User on Rocky Linux 8 [Quickstart]