LDAP-UX Client Services B.05.00 Administrator's Guide

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.
7.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 users full name. If you do not specify
this argument, the user's full name defaults to the account name.
-u <uid_number>
Optional. Specifies the users numeric ID number. If the specified
uidNumber value already exists in the directory server,
ldapugadd does not add the new entry and returns an error
status, unless you specify the -F option.
If this argument is not specified, ldapugadd randomly selects
a new user ID number from the uidNumber range specified by
the ldapugadd -D -u command. If you do not specify the
uidNumber range with the ldapugadd -D -u command,
ldapugadd randomly selects a value from default UID range
specified in the /etc/opt/lapux/ldapug.conf file. If
ldapugadd randomly selects a uidNumber that is already in
use on the directory server, ldapugadd then randomly selects
another uidNumber and tries again until it finds an unused
uidNumber or exhausts retry attempts. Retry attempts are limited
7.3 LDAP user and group management tools 235