add user ubuntu 18.04 sudo permissions code example Example: add sudo user ubuntu 18 sudo usermod -aG sudo [username]