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:

1In Workgroup Manager, click Accounts.

2Click the globe icon and then choose the domain where the user’s account resides.

3To authenticate, click the lock and enter the name and password of a directory domain administrator.

4To create a preset using data in an existing user account, open the account; to create a preset from scratch, create a user account.

5If 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.

6Click Preferences.

7Configure 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.

8From 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.

Chapter 4 Setting Up User Accounts

61

Page 61
Image 61
Apple 10.5 Leapard manual Working with Presets, Creating a Preset for User Accounts, To create a preset for user accounts