add users to ubuntu server code example Example: ubuntu adduser sudo adduser username sudo usermod -aG sudo username