Tested on Ubuntu 18.04
This script creates a new sudo user via script arguments.
Download:
wget https://raw.githubusercontent.com/JacFearsome/bash-scripts/master/automation/create-sudo-user-auto.sh
Usage:
sudo bash create-sudo-user-auto.sh -u user -p1 password -p2 password