how to change user to sudo in ubuntu code example Example: add user to sudoers usermod -aG sudo username