- 论坛徽章:
- 224
|
本帖最后由 action08 于 2016-06-14 22:07 编辑
回复 3# jixuuse useradd -D [options]
DESCRIPTION
useradd is a low level utility for adding users. On Debian,
administrators should usually use adduser( instead.
When invoked without the -D option, the useradd command creates a new
user account using the values specified on the command line plus the
default values from the system. Depending on command line options, the
useradd command will update system files and may also create the new
user's home directory and copy initial files.
By default, a group will also be created for the new user (see -g, -N,
-U, and USERGROUPS_ENAB).
OPTIONS
The options which apply to the useradd command are:
-b, --base-dir BASE_DIR
The default base directory for the system if -d HOME_DIR is not
specified. BASE_DIR is concatenated with the account name to
................... |
|