Chapter 4 Setting Up User Accounts 61
From the Command Line
You can also disable a user account using the dscl and pwpolicy commands in
Terminal. For more information, see the users and groups chapter of Command-Line
Administration.
Working with Presets
Presets are templates used to define attributes that apply to new user, group, or
computer group accounts.
Creating a Preset for User Accounts
You can create presets to use when creating user accounts in a directory domain.
Presets are stored in the directory domain you’re currently viewing. If you change
directory domains, the presets you created in the other directory domain are not
available.
To create a preset for user accounts:
1 In Workgroup Manager, click Accounts.
2 Click the globe icon and then choose the domain where the user’s account resides.
3 To authenticate, click the lock and enter the name and password of a directory domain
administrator.
4 To create a preset using data in an existing user account, open the account; to create a
preset from scratch, create a user account.
5 If you’re basing the preset on an existing account, fill in the fields with values you want
new user accounts to inherit and then delete values you don’t want to specify in
advance.
The following attributes can be defined in a user-account preset: simultaneous login,
default shell, comment, primary group ID, group membership list, home folder settings,
disk quota, mail settings, and print settings.
6 Click Preferences.
7 Configure settings you want the preset to define, and then click Accounts.
After configuring preference settings for a preset, you return to the Accounts settings
to save the preset.
8 From the Presets pop-up menu, choose Save Preset, enter a name for the preset, and
click OK.
The preset is saved to the current directory domain.