Grant user access to sudoers in Ubuntu

Run the following command to add the user to the sudo group:

sudo usermod -a -G sudo username