Enable this group policy to specify a script that runs automatically when a user logs out. This script is stored in \\
The script path should be relative path to \\
Example:
setting the path to:
logout.sh
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.
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.
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Centrify\CentrifyDC\Settings\Mac\Scripts |
Value Name | EnableLogoutScript |
Value Type | REG_SZ |
Enabled Value | 1 |
Disabled Value | 0 |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Centrify\CentrifyDC\Settings\Mac\Scripts |
Value Name | LogoutScript |
Value Type | REG_SZ |
Default Value |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Centrify\CentrifyDC\Settings\Mac\Scripts |
Value Name | LogoutScriptRunAsRoot |
Value Type | REG_DWORD |
Default Value | 0 |
True Value | 1 |
False Value | 0 |