
7Working With Users and Groups | 7 |
Commands you can use to set up and manage users and groups in Mac OS X Server.
Creating Server Administrator Users
You can use the serversetup command to create administrator users for a server. To create regular users, see “Importing Users and Groups” on page 54.
To create a user:
$ serversetup
The name, short name, and password must be typed in the order shown. If the full name includes spaces, type it in quotes.
The command displays a 1 if the full name or short name is already in use.
To create a user with a specific UID:
$ serversetup
The name, short name, password, and UID must be typed in the order shown. If the full name includes spaces, type it in quotes.
The command displays a 1 if the full name, short name, or UID is already in use or if the UID you specified is less than 100.
To create a user with a specific UID and home directory:
$ serversetup
homedirpath
The name, short name, password, and UID must be typed in the order shown. If the full name includes spaces, type it in quotes.
The command displays a 1 if the full name, short name, or UID is already in use or if the UID you specified is less than 100.
53