Specify logout script

Enable this group policy to specify a script that runs automatically when a user logs out. This script is stored in \\\SYSVOL\\scripts folder.

The script path should be relative path to \\\SYSVOL\\scripts folder.

Example:

setting the path to:
logout.sh
will run the following script when a user logs out:
\\\SYSVOL\\scripts\logout.sh

- Run with root user privileges:
By default, the logout script will run as an Active Directory user. If 'Run with root user privileges' is checked, the logout script will run with root privileges, allowing a user to do things that they normally don't have permission to do.

You can specify only one file as a logout script.

Note:
This policy uses Mac OS X's logout hook. If you already use logout hook for your own purposes then, with Centrify Agent version 4.4 and earlier, your logout hook will be replaced and will not run anymore. With Centrify Agent version 4.5 and later, your logout hook will be copied to /var/centrifydc/scripts/additional/logout and will run before the script specified in this policy.

Supported on:

Registry HiveHKEY_CURRENT_USER
Registry PathSoftware\Policies\Centrify\CentrifyDC\Settings\Mac\Scripts
Value NameEnableLogoutScript
Value TypeREG_SZ
Enabled Value1
Disabled Value0

Logout script:

Registry HiveHKEY_CURRENT_USER
Registry PathSoftware\Policies\Centrify\CentrifyDC\Settings\Mac\Scripts
Value NameLogoutScript
Value TypeREG_SZ
Default Value
Run with root user privileges
Registry HiveHKEY_CURRENT_USER
Registry PathSoftware\Policies\Centrify\CentrifyDC\Settings\Mac\Scripts
Value NameLogoutScriptRunAsRoot
Value TypeREG_DWORD
Default Value0
True Value1
False Value0

centrify_mac_settings.admx

Administrative Templates (Computers)

Administrative Templates (Users)