CmdID

CmdID / Commands

useradd

Create a new user. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Create a new user

sudo useradd usernameIdentify

Create a new user with the specified user ID

sudo useradd --uid user_id usernameIdentify

Create a new user with the specified shell

sudo useradd --shell path/to/shell usernameIdentify

Create a new user belonging to additional groups (mind the lack of whitespace)

sudo useradd --groups group1,group2,... usernameIdentify

Create a new user with the default home directory

sudo useradd --create-home usernameIdentify

Create a new user with the home directory filled by template directory files

sudo useradd --skel path/to/template_directory --create-home usernameIdentify

Create a new system user without the home directory

sudo useradd --system usernameIdentify