smbldap-useradd (8) - Linux Manuals
smbldap-useradd: Create a new user
smbldap-useradd - Create a new user
SYNOPSISsmbldap-useradd [-abinwPW] [-c comment] [-d home_dir] [-g initial_group] [-m [-k skeleton_dir]] [-o user_ou] [-s shell] [-t time] [-u uid] [-A canchange] [-B mustchange] [-C smbhome] [-D homedrive] [-E scriptpath] [-F profilepath] [-G group[,...]] [-H acctflags] [-M mailaddr[,...]] [-N givenname] [-O mailaddr[,...]] [-S surname] [-T mailaddr[,...]] [-X encoding] [-Z name=value[,...]] login
DESCRIPTIONCreating New Users The smbldap-useradd command creates a new user account using the values specified on the command line and the default values from the system and from the configuration files (in the /etc/smbldap-tools directory).
Without any option, the account created will be a Unix (Posix) account. The following options may be used to add information:
The user will have a Samba account
Can change password?
The user is an
Must change password?
The new user's comment field
The new user will be created using home_dir for the user's login directory. The default is to append the login name to userHomePrefix
Letter associated with home share, like
Relative to the
Profile directory, like
The group name or number of the user's initial login group. The group name must exist. A group number must refer to an already existing group. The default group number is defined in the configuration file
A list of supplementary groups that the user is also a member of. Each group is separated from the next by a comma, with no intervening whitespace. The groups are subject to the same restrictions as the group given with the -g option. The default is for the user to belong only to the initial group.
Spaces and trailing bracket are ignored
Creates an interdomain trust account
When creating the user's home directory, copy files and directories from skeletonDir rather than
The user's home directory will be created if it does not exist. The files contained in skeletonDir will be copied to the home directory if the -k option is used, otherwise the files contained in
Allow the creation of a user account with a duplicate
Do not print banner message.
Family name. Defaults to username.
The user's account will be created in the specified organizational unit. It is relative to the user suffix dn
Ends by invoking smbldap-passwd.
Read password from
The name of the user's login shell. The default is to leave this field blank, which causes the system to select the default login shell.
Defaults to username.
The numerical value of the user's
Creates an account for a Samba machine
Specify input encoding for givenname and surname