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