The Unix Cluster plugin manages Unix Accounts for CO People.


(warning) This plugin is considered Experimental.

Installation

  1. This is a non-core plugin, see Installing and Enabling Registry Plugins for more information.

Configuration

The Unix Cluster Plugin can be instantiated multiple times, with each instantiation representing a single (logical) Unix Cluster. A CO Person may then have one or more Unix Cluster Accounts within each Unix Cluster.

Unix Accounts may be created completely manually, in which case no particular rules are applied, or they may be created automatically, in accordance with the Unix Cluster configuration:

Note the GECOS field is currently populated using the Primary Name of the CO Person. The generation of this field is subject to change in a future release.

The following situations will cause the generation of the Unix Account to fail:

Note that automatically generating a Unix Account can only create one unique Unix Account for a CO Person based on the configuration. Any additional Unix Accounts should be created manually, or via custom scripting (using a plugin or the REST API).

Setting a Default Group For Each Unix Account

By setting Default Group to Create a New Group For Each Account, the following behavior will take place:

Understanding Identifier Management

Usernames and UIDs must be unique within a Unix Cluster.

Although not required, it is recommended that Usernames and UIDs be consistent across Unix Clusters to simplify management. (An exception might be for managing legacy clusters.) Keep in mind that Identifiers must be unique within a CO (within all CO People or CO Groups as appropriate). In order for (eg) two Unix Cluster Groups in different Unix Clusters to use the same GID Number (with different names), each Unix Cluster must have a different GID Type.

When a Unix Cluster Account is created automatically, subsequent management of these identifiers depends on the Unix Cluster's Sync Mode. More specifically, when an Account is automatically created it is given the Sync Mode setting of the Cluster, and so the individual Account's Sync Mode setting governs subsequent behavior. Changing the Cluster's setting will not affect the settings of existing Accounts.

If the Sync Mode is set to Manual, then there is no subsequent automatic linkage between Identifiers attached to CO Person records and identifiers stored within a Unix Cluster Account record. However, if the Sync Mode is set to Track CO Person Attributes then changes made to the CO Person record will also update the associated Unix Cluster Account record as follows:

These automatic changes are made even if the Unix Cluster Account is currently suspended. If an update results in a conflict (eg: the new Identifier is already in use by another Unix Cluster Account) the automatic update will fail.

Additionally, manually assigning an identifier (username or UID) on a Unix Account record will not prevent the same Identifier from being created on a CO Person record. For example, if the UID 1500 is manually assigned to an account, and that would be the next sequential identifier assigned for a new CO Person record, if that new CO Person record is subsequently made eligible for a Unix Account, the Unix Account auto-generation will fail as described above.

Mapping CO Groups to Unix Cluster Groups

While Unix Accounts are attached to (and managed via) CO Person records, Unix Cluster Groups are managed directly via the Unix Cluster configuration, via Manage Unix Cluster Groups. A CO Group becomes available to a Unix Cluster when

  1. It is attached, via Manage Unix Cluster Groups
  2. The CO Group has identifiers of the types (Group Name Type and GID Type) required by the configuration

A Unix Account will be a member of a given Unix Cluster Group when the CO Person associated with the Unix Account is a CO Group Member of the CO Group that, in turn, is associated with the Unix Cluster Group. Note that this means all Unix Accounts associated with the same CO Person will be members of the same Unix Cluster Groups on a given Unix Cluster.

Account Status

Unix Cluster Accounts currently support a limited set of statuses. Accounts in Active or GracePeriod statuses will be made available to provisioners, but otherwise status is ignored.

Supported Provisioners

The LDAP Provisioning Plugin supports writing Unix Cluster Account information to various schema.

User Self Service

User Self Service (eg: to change a shell or GECOS) is not currently supported.