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.


setting the path to:
will run the following script when a user logs out:

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

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 PathSoftware\Policies\Centrify\CentrifyDC\Settings\Mac\Scripts
Value NameEnableLogoutScript
Value TypeREG_SZ
Enabled Value1
Disabled Value0

Logout script:

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


Administrative Templates (Computers)

Administrative Templates (Users)