|
8.
|
|
|
B<addgroup> [options] [--gid ID] group
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../adduser.8:17
|
|
9.
|
|
|
B<addgroup> --system [options] [--gid ID] group
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../adduser.8:19
|
|
10.
|
|
|
B<adduser> [options] user group
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../adduser.8:21
|
|
11.
|
|
|
DESCRIPTION
|
|
|
type: SH
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../adduser.8:21 ../adduser.conf.5:11 ../deluser.8:19 ../deluser.conf.5:11
|
|
12.
|
|
|
B<adduser> and B<addgroup> add users and groups to the system according to command line options and configuration information in I</etc/adduser.conf>. They are friendlier front ends to the low level tools like B<useradd,> B<groupadd> and B<usermod> programs, by default choosing Debian policy conformant UID and GID values, creating a home directory with skeletal configuration, running a custom script, and other features. B<adduser> and B<addgroup> can be run in one of five modes:
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../adduser.8:35
|
|
13.
|
|
|
Add a normal user
|
|
|
type: SS
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../adduser.8:35
|
|
14.
|
|
|
If called with one non-option argument and without the B<--system> or B<--group> options, B<adduser> will add a normal user.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../adduser.8:39
|
|
15.
|
|
|
B<adduser> will choose the first available UID from the range specified for normal users in the configuration file. The UID can be overridden with the B<--uid> option.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../adduser.8:46
|
|
16.
|
|
|
The range specified in the configuration file may be overridden with the B<--firstuid> and B<--lastuid> options.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../adduser.8:52
|
|
17.
|
|
|
By default, each user in Debian GNU/Linux is given a corresponding group with the same name. Usergroups allow group writable directories to be easily maintained by placing the appropriate users in the new group, setting the set-group-ID bit in the directory, and ensuring that all users use a umask of 002. If this option is turned off by setting B<USERGROUPS> to I<no>, all users' GIDs are set to B<USERS_GID>. Users' primary groups can also be overridden from the command line with the B<--gid> or B<--ingroup> options to set the group by id or name, respectively. Also, users can be added to one or more groups defined in adduser.conf either by setting ADD_EXTRA_GROUPS to 1 in adduser.conf, or by passing B<--add_extra_groups> on the commandline.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../adduser.8:70
|