Login Window: Scripts (com.apple.mcxloginscripts)

com.apple.mcxloginscripts

The payload that configures scripts to run at login and logout.

macOS(10.7)
Branch: release

Settings (10)

SettingTypeRequiredDefaultManual InstallSupported OS
loginscripts
loginscripts
An array of one or more dictionaries of scripts to run at user login time.
1 subkey
arrayoptional
Yes
macOS (10.7+)
└─
ScriptsItems
ScriptsItems
A dictionary of login scripts.
2 subkeys
dictionary
Yes
macOS (10.7+)
└─ └─
filename
filename
The filename for display purposes.
stringrequired
Yes
macOS (10.7+)
└─ └─
filedata
filedata
The UTF-8 encoded data object representing the executable script.
datarequired
Yes
macOS (10.7+)
logoutscripts
logoutscripts
An array of one or more dictionaries of scripts to run at user logout time.
1 subkey
arrayoptional
Yes
macOS (10.7+)
└─
ScriptsItems
ScriptsItems
A dictionary of login scripts.
2 subkeys
dictionary
Yes
macOS (10.7+)
└─ └─
filename
filename
The filename for display purposes.
stringrequired
Yes
macOS (10.7+)
└─ └─
filedata
filedata
The UTF-8 encoded data object representing the executable script.
datarequired
Yes
macOS (10.7+)
skipLoginHook
skipLoginHook
If `true`, the system doesn't execute the login scripts during login.
booleanoptionalfalse
Yes
macOS (10.7+)
skipLogoutHook
skipLogoutHook
If `true`, the system doesn't execute the logout scripts during logout.
booleanoptionalfalse
Yes
macOS (10.7+)