Linux & Shell · Command
useradd
useradd creates a new user account from command-line options and system defaults. It can also create a home directory, copy starter files, and set groups or a login shell.
Last updated
Syntax
useradd [ options ] LOGIN
useradd -D
useradd -D [ options ]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
usermoduserdelgroupaddsubuid/etc/default/useradd/etc/login.defs