NAME
adduser - add new user to system

SYNOPSIS
adduser user [ -u uid ] [ -g gid ] [ -p passwd ] [ -n user ]
[ -d home ] [ -s login ]

DESCRIPTION
adduser does all the bookeeping to create a new user login on the
system. A new password file /etc/passwd is created. The old
password file is saved in /etc/passwd.OLD.

OPTIONS
-u user id of new user. Specifies a unique number for the user
on this system. If it is not specified it will be set to the
uid of the last entry in the password file plus one.

-g group id of the new user. Specifies the group that the user
belongs to. May be a number or a group name contained in the
/etc/group file. If it is not specified it will be set to the
group "other".

-p is the clear text form of the user password. If not
specified, the user will be used.

-n specifies user information. Typically used to specify real
world user name, mail stop or phone. If not specified, the
user will be used. If this text contains spaces or other
special Unix characters, it should be enclosed in quotes.

-d specifies the users home directory. If not specified
/home/user will be used. If the directory already exists, it
must be owned by the user and group and have read, write and
execute permissions.

-s specifies the program to run as the login shell. The name is
checked to make sure it is an executable program with access
for the new user. If not specified, /bin/sh will be used.

SEE ALSO
login(1), passwd(5), group(5)