Back to search

useradd

command user

Create a new user account

Options

Custom home directory path (default: /home/<user>)

Specific numeric UID

Group name or GID

Comma-separated group names

YYYY-MM-DD format

Create a system account (low UID, no aging)

Generated Command

sudo useradd -m -s /bin/bash