LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS

group-related information. If you do not specify this argument, ldapugadd
defaults to passwd.
The command line arguments that are applicable depend on the service
specified.
9.3.5.4.1 Arguments applicable to -D
Use the ldapugadd -D command to change local host default values for the UG tool configuration
parameters, uidNumber_range, gidNumber_range, user_gidnumber,
default_homeDirectroy and default_loginShell, in /etc/opt/ldapux/ldapug.conf
file.
The following is a list of valid arguments:
-D Uses this option to permanently alter local host defaults in the
/etc/opt/ldapux/ldapug.conf file. The ldapugadd
tool uses these defaults when creating new user or group entries
in an LDAP directory server. Configuration changes using the
-D options change the default values in the LDAP UG tool
configuration file, /etc/opt/ldapux/ldapug.conf.
-u <min_uid>:<max_uid> Sets new default minimum and maximum ranges that
ldapugadd uses when provisioning an UID number for newly
created user entries. The UID range is inclusive of the specified
end values.
-g <default_gid> Specifies the default group ID number used when creating new
user entries. To avoid ldapugadd from displaying warning
messages, you must specify this group ID which represents a
POSIX-style group stored in the LDAP directory. If this group ID
is not defined in the LDAP directory, ldapugadd displays a
warning message every time it adds a new user using this
default group ID, because ldapugadd cannot add the user
as a member of that group.
-g <min_gid>:<max_gid> Sets new default minimum and maximum ranges that
ldapugadd uses when provisioning a GID number for newly
created group entries. The GID range is inclusive of the
specified end values. Use the colon character to indicate that
a range has been specified.
-s <default_shell> Specifies the default login shell to use when creating new user
entries.
-d <default_home> Specifies the default parent home directory to use when creating
new user home directories.
9.3.5.4.2 Arguments applicable to -t passwd
The following is a list of valid arguments for -t passwd:
<uid_name> Required. Specifies the POSIX style login name for the new user
entry. This user name must conform to HP-UX login name
requirements. For more information about login name requirements,
see passwd(4) manpage. The <uid_name> argument is a required
parameter. This argument must follow all command-line options
and must precede the <attr>=<value> parameters (if provided).
-f <full_name> Optional. This option is required only for the passwd service and
is used to specify the user’s full name. If you do not specify this
argument, the user's full name defaults to the account name.
9.3 LDAP user and group management tools 299