add user ubuntu 20.04 code example Example 1: add user ubuntu 20.04 sudo adduser username Example 2: add sudo user ubuntu 18 sudo usermod -aG sudo [username]