Specify commands to run

Use the Specify commands to run group policy to configure one or more commands to run any time a computer is rebooted and at the computer group policy refresh interval when applied to a computer, or when a user logs on and at the user group policy refresh interval when applied to user accounts.

Select the Computer Configuration > Centrify Settings > Common UNIX Settings > Specify commands to run group policy to configure computer-based policies that run when a computer restarts and at the computer group policy refresh interval.

Select the User Configuration > Centrify Settings > Common UNIX Settings > Specify commands to run group policy to configure user-based policies that run when users log on.

Both Specify commands to run group policies are defined in the centrify_unix_settings.xml administrative template.

If you select Enabled for either group policy, you can then click Show to add or remove commands.

To add commands to the policy, click Add. You can then type the commands to be added to the file using the appropriate format for the local computer’s operating environment, then click OK.

For computers, the commands you specify should be general computer commands.

For user accounts, the commands you specify should be user-specific. The user account that is used to run the command is recorded in the $ENV variable in the RunCommand.pl script. An entry in /var/log/centrifydc.log identifies the user. For example:

The commands are invoked for user: wtest2