Specify multiple login scripts

Enable this group policy to specify multiple scripts to run automatically when a user logs in.

Scripts run simultaneously in no specific order.

Create scripts and put them in \\\SYSVOL\\scripts (or create a subfolder to put them in).


- Script:
Enter a script name, which is relative to the path:
\\\SYSVOL\\scripts folder. For example:

Specify: login.sh
To execute: \\\SYSVOL\\scripts\login.sh

Specify: sub/login.sh (or sub\login.sh)
To execute: \\\SYSVOL\\scripts\sub\login.sh


- Parameters:
Enter arguments to pass to the script, which are interpreted the same way as in a UNIX shell, i.e., use space as a delimiter, and backslash as an escape character. You can also use $USER to represent the current user's name. For example:

arg1 arg2 arg3
arg1 'a r g 2' arg3
arg\' $USER

Supported on:

Registry HiveHKEY_CURRENT_USER
Registry PathSoftware\Policies\Centrify\CentrifyDC\Settings\Mac\Scripts
Value NameEnableMultipleLoginScripts
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

Login scripts:

Registry HiveHKEY_CURRENT_USER
Registry PathSoftware\Policies\Centrify\CentrifyDC\Settings\Mac\Scripts\LoginScripts
Value Name{number}
Value TypeREG_SZ
Default Value

centrify_mac_settings.admx

Administrative Templates (Computers)

Administrative Templates (Users)