useradd(8) - SerenityOS man pages

#Name

useradd - add a new user to the system password file

#Synopsis

# useradd [options] <login>

#Description

This program adds a new user to the system.

By default, the user will be added to the users group (which has a GID of 100).

This program must be run as root.

#Options

#Exit Values

#Files

#Examples

# useradd -u 300 -m kling
# useradd -m -u 400 --gid 200 --gecos "Sergey Bugaev" bugaevc
# useradd quaker
# useradd --gid 1000 -d /tmp/somedir -n "Dan MacDonald" danboid
# useradd --create-home supercomputer7

#See also