Apple Mac OS X Server (version 10.2.3 or later) User Manual
Page 186

186
Chapter 3
-s startingUID
specifies the starting UID to use when importing from an ASIP XML file or a character-
delimited file that contains new user accounts with no UIDs specified. You can omit this
argument if all the accounts in the import file contain UIDs, but use it if some or all of the
accounts do not contain UIDs. For example, -s 559 assigns UIDs to imported users starting
at 559 and incrementing by one for each new user.
-r primaryGroupID
identifies the primary group ID to assign a new user when an account in the import file
has no group ID specified. For example, -r 20 makes the group with a group ID of 20 the
primary group of an imported user with no group ID defined in the file.
-k keyIndex ...
is for character-delimited import files only. It is used to identify as many as four attributes
of an account in the file that you want to use to determine whether the account already
exists. The keyIndex is 0 based, so -k 0 points to the first attribute of an account in the
import file. Separate multiple keyIndex values using commas, for example, -k 1,5,6,8. If
you omit the -k parameter, -k 0 is assumed.
-n recNameIndex
is for character-delimited import files only. It is used to identify the attribute providing a
user’s short name or a group name. The nameIndex is 0 based, so -n 0 points to the first
attribute. If you omit the -n parameter, -n 0 is assumed.
-v
generates verbose output during import. Because this option generates a large amount of
status data for each account (including all data in the import file), use this option only
when debugging import files. The default status data are counts of the number of
accounts and bytes processed and the record name of the account currently being
processed.
-T standardRecordType
is for character-delimited import files only. It is used to indicate that the first line of the
file does not contain a record description because the file contains accounts in standard
formats. A standardRecordType value of xDSStandardUser is used for standard user
accounts, and xDSSttandardGroup is used for standard group accounts. See “Using
Character-Delimited Files” on page 191 for details about account formatting.
-yrnm userName
is the user name for logging in to a remote Mac OS X Server identified in the -y parameter.
-yrpwd password
is the password for logging in to a remote Mac OS X Server identified in the -y parameter.
LL0395.Book Page 186 Wednesday, November 20, 2002 11:44 AM