SSSD Manual pagessss_useradd8sss_useraddcreate a new usersss_useraddoptionsLOGINDESCRIPTIONsss_useradd creates a new user account using
the values specified on the command line plus the default values from
the system.
OPTIONS
,
UID
Set the UID of the user to the value of UID.
If not given, it is chosen automatically.
,
COMMENT
Any text string describing the user. Often used as
the field for the user's full name.
,
HOME_DIR
The home directory of the user account.
The default is to append the LOGIN name
to /home and use that as the home directory.
The base that is prepended before LOGIN is tunable
with user_defaults/baseDirectory setting in sssd.conf.
,
SHELL
The user's login shell. The default is currently /bin/bash.
The default can be changed with
user_defaults/defaultShell setting
in sssd.conf.
,
GROUPS
A list of existing groups this user is also a member of.
,
Create the user's home directory if it does not
exist. The files and directories contained in the
skeleton directory (which can be defined with the
-k option or in the config file) will be copied
to the home directory.
,
Do not create the user's home directory. Overrides
configuration settings.
,
SKELDIR
The skeleton directory, which contains files
and directories to be copied in the user's home
directory, when the home directory is
created by sss_useradd.
This option is only valid if the
(or ) option is
specified, or creation of home directories is set to TRUE
in the configuration.
,
SELINUX_USER
The SELinux user for the user's login. If not specified,
the system default will be used.
SEE ALSOsss_groupadd8,
sss_groupdel8,
sss_groupshow8,
sss_groupmod8,
sss_userdel8,
sss_usermod8.