Beginner
Package: shadow-utils / passwd
useradd
Create a new user account.
Syntax
useradd [options] username
Description
useradd creates a new user account and, depending on options, its home directory, default shell and initial group memberships. On Debian-based systems the friendlier adduser wraps it interactively.
Examples
sudo useradd -m -s /bin/bash alice
Create a user with a home directory and bash as the default shell
sudo useradd -m -G sudo,developers alice
Create a user and add them to extra groups
sudo adduser alice
Interactive, Debian/Ubuntu-friendly equivalent