Follow the steps below to create a new user with sudo privileges on Ubuntu:

# Add an user lucas and its home folder at /home/lucas
sudo useradd -d /home/lucas -m lucas
# Add a password for user lucas
sudo passwd lucas
# Make bash as default terminal
sudo usermod -s /bin/bash lucas
# Add lucas to sudoers group
sudo adduser lucas sudo