net user /add username password
With all options as a one-liner:
sudo useradd -g users -d /home/username -s /bin/bash -p 'mypasswordinMD5' username
Interactively:
sudo useradd username
Last updated 5 years ago