How to add user to sudoers or the adm group on Ubuntu Linux

Use the following command in a terminal window to modify a user’s rights on Linux to make them a member of the adm group
$ sudo usermod -a -G sudo,adm username <enter>

where username is the name of the user who you want to make a sudoer.