smbldap-useradd (8) - Linux Manuals
smbldap-useradd: Create a new user
NAME
smbldap-useradd - Create a new user
SYNOPSIS
smbldap-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[,...]] loginDESCRIPTION
Creating 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:
-a
-A
-b
-B
-c ``comment''
-C sambaHomePath
-d home_dir
-D sambaHomeDrive
-E sambaLogonScript
-F sambaProfilePath
-g initial_group
-G group,[...]
-H sambaAcctFlags
-i
-k skeletonDir
-m
-M mail
--non-unique
-n
-N givenname
-o node
-O localMailAddress
-P
-p
-s shell
-S surname
-t time
-T mailToAddress
-u uid
-w/-W
-X encoding
-Z name=value
The user will have a Samba account
Can change password?
The user is an
Must change password?
The new user's comment field
SMB
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
E-mail addresses
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
localMailAddresses
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.
Wait
Forward address
The numerical value of the user's
Creates an account for a Samba machine
Specify input encoding for givenname and surname
Specify custom