User Configuration > Policies > Centrify Settings > Mac OS X Settings > Scripts (Login/Logout) > Specify logout script
Specify the name of a logout script to execute when users log out. You can specify only one file as the logout script.
Before enabling this policy, you should create the logout script and copy it to the system volume (
SYSVOL) on the domain controller. By default, the logout script is stored in the system volume (
SYSVOL) on the domain controller in the following directory:
The script path you type in Logout script is relative to:
For example, if the domain name is
ajax.org and you enter a script name of
mlogout.sh, the script that gets executed on the domain controller is:
Note: Be certain authenticated users have permission to read this file so the script can run when they log out.
By default, the script runs with the Active Directory user’s permissions. If the script contains commands that require root permission to run, select Run with root user privileges.
Once this group policy is enabled, it takes effect when users log out and log back in.