Apple Xserve Up Mac OS X Server Specifications Page 124

  • Download
  • Add to my manuals
  • Print
  • Page
    / 329
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 123
124 Chapter 8 Managing User and Group Accounts
The first record in the file, the record description, describes the format of each account
record in the file. There are three options for the record description:
 Write a full record description
 Use the shorthand StandardUserRecord
 Use the shorthand StandardGroupRecord
The other records in the file describe user or group accounts, encoded in the format
described by the record description. A line in a character-delimited file that begins with
# is ignored during importing.
Writing a Record Description
The record description specifies the fields in each record in the character-delimited file,
specifies the delimiting characters, and specifies the escape character that precedes
special characters in a record.
Encode the record description using the following elements in the order specified,
separating them with a space:
 End-of-record indicator (in hex notation)
 Escape character (in hex notation)
 Field separator (in hex notation)
 Value separator (in hex notation)
 Type of accounts in the file (dsRecTypeStandard:Users or
dsRecTypeStandard:Groups)
 Number of attributes in each account record
 List of attributes
For user accounts, the list of attributes must include the following, although you can
omit UID and PrimaryGroupID if you specify a starting UID and a default primary group
ID when you import the file:
 RecordName (the user’s short name)
 Password
 UniqueID (the UID)
 PrimaryGroupID
 RealName (the users full name)
In addition, you can include:
 UserShell (the default shell)
 NFSHomeDirectory (the path to the users home folder)
 Other user data types, described in Open Directory Administration.
Page view 123
1 2 ... 119 120 121 122 123 124 125 126 127 128 129 ... 328 329

Comments to this Manuals

No comments