1. create a user with home dir

    useradd -m testuser
    
  2. create a password for user

    passwd testuser
    
  3. modify user account

    usermod -aG sudo -s /bin/bash testuser
    

    it means append testuser to sudo Group, and bash used for this user.