Provided by:
adduser_3.113ubuntu2_all 
NAME
adduser, addgroup -
adduser [options] [--home DIR] [--shell SHELL] [--no-create-home]
[--uid ID] [--firstuid ID] [--lastuid ID] [--ingroup GROUP | --gid ID]
[--disabled-password] [--disabled-login] [--gecos GECOS]
[--add_extra_groups] [--encrypt-home] user
adduser --system [] [--home ] [--shell ] [--no-create-home] [--uid ID]
[--group | --ingroup | --gid ID] [--disabled-password]
[--disabled-login] [--gecos GECOS]
addgroup [] [--gid ID]
addgroup --system [] [--gid ID]
adduser []
[--quiet] [--debug] [--force-badname] [--help|-h] [--version] [--conf ]
adduser addgroup , , /etc/adduser.conf. groupadd usermod,
Debian UID GID, , , . adduser addgroup :
--system --group, adduser .
adduser UID , . UID --uid.
, , --firstuid --lastuid.
, Debian GNU/Linux . , , set-group-ID , umask
002. , USERGROUPS no, GID USERS_GID. --gid --ingroup,
id , . , , adduser.conf, ADD_EXTRA_GROUPS 1 adduser.conf,
--add_extra_groups .
adduser DHOME, GROUPHOMES LETTERHOMES. --home, --shell.
Set-group-ID , USERGROUPS yes, , , .
adduser will copy files from SKEL into the home directory and prompt
for finger (gecos) information and a password. The gecos may also be
set with the --gecos option. With the --disabled-login option, the
account will be created but will be disabled until a password is set.
The --disabled-password option will not set a password, but login is
still possible (for example with SSH RSA keys). To set up an encrypted
home directory for the new user, add the --encrypt-home option. For
more information, refer to the -b option of ecryptfs-setup-private(1).
/usr/local/sbin/adduser.local , , . adduser.local:
_ uid gid _
VERBOSE :
0, --quiet
1, --quiet --debug
2, --debug
( DEBUG, DEBUG , adduser.)
--system, adduser . uid (, uid, uid ), adduser
. <<--quiet>>.
adduser UID , (FIRST_SYSTEM_UID LAST_SYSTEM_UID). - UID,
--uid.
, nogroup. , --gid --ingroup. ID, --group.
. /bin/false ( --shell) . .
adduser --group --system addgroup, .
GID GID, (FIRST_GID, LAST_GID). GID, --gid.
.
addgroup --system, .
GID GID, (FIRST_SYSTEM_GID, LAST_SYSTEM_GID). GID, --gid.
.
, adduser .
--conf /etc/adduser.conf.
--disabled-login
passwd . , .
--disabled-password
--disabled-login, (, SSH RSA), .
--force-badname
By default, user and group names are checked against the
configurable regular expression NAME_REGEX (or NAME_REGEX_SYSTEM
if --system is specified) specified in the configuration file.
This option forces adduser and addgroup to apply only a weak
check for validity of the name.
--gecos GECOS
gecos . adduser finger, .
--gid ID
. .
--group
--system, ID . --system , . , addgroup.
--help .
--home , . , .
--shell
, .
--ingroup
, , USERS_GID . . , add_extra_groups.
--no-create-home
, .
--quiet
, .
--debug
, , adduser.
--system
.
--uid ID
userid . adduser , userid .
--firstuid ID
uid , uid ( FIRST_UID, ).
--lastuid ID
uid , uid ( LAST_UID )
--add_extra_groups
, .
--version
.
0 . 2 : adduser adduser. adduser 0.
1 , UID/GID, . , , adduser.conf(5). adduser
.
, . --quiet, adduser .
/etc/adduser.conf
adduser addgroup
adduser.conf(5), deluser(8), useradd(8), groupadd(8), usermod(8),
Debian Policy 9.2.2.
Copyright (C) 1997, 1998, 1999 Guy Maor. (Roland Bauerschmidt)
(Marc Haber). (Joerg Hoh) (Stephen Gran).
Copyright (C) 1995 Ted Hajek, Debian adduser
Copyright (C) 1994 Ian Murdock. adduser ; GNU 2 . .