How to grant `sudo` rights to a user in CentOS?

usermod -aG wheel <username>
echo '<username> ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers