Skip to content

Commit fd66675

Browse files
Per OlofssonPer Olofsson
authored andcommitted
Updated README.
1 parent 1d6387b commit fd66675

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

README.markdown

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,27 @@ The plugin is currently tested on 10.9, but should work on 10.7 or newer.
1919
Installation
2020
------------
2121

22-
There is no installer package yet. Compile the plugin with Xcode 6.1, copy it to `/Library/Security/SecurityAgentPlugins`, and change the owner to `root:wheel`. Then run `configureplugin.sh enable` to activate the plugin.
22+
Download and install the [latest package](releases).
23+
24+
25+
Uninstallation
26+
--------------
27+
28+
* Delete `/Library/Security/SecurityAgentPlugins/LoginScriptPlugin.bundle`
29+
* Run `configureplugin.sh disable`. The script can be found under [Installer Resources/Scripts](tree/master/Installer Resources/Scripts).
2330

2431

2532
Configuration
2633
-------------
2734

28-
*Warning: this is likely to change in a later release.*
29-
30-
Create the folder `/Library/Application Support/LoginScriptPlugin` and place scripts there. Make sure the folder and all the scripts are owned by `root:wheel` and not writable by anyone else. The plugin looks for the following four scripts:
35+
Create the folder `/Library/Application Support/LoginScriptPlugin` and place your login scripts there. Make sure the folder and all the scripts are owned by `root:wheel` and not writable by anyone else. The plugin will execute scripts in this directory either before or after the user's home directory has been mounted, and either as root or the user that's logging in, determined by the script's name. The plugin looks for scripts that match the following patterns, in this order:
3136

32-
* `premount-root`
33-
* `premount-user`
34-
* `postmount-root`
35-
* `postmount-user`
37+
* `premount-root-*`
38+
* `premount-user-*`
39+
* `postmount-root-*`
40+
* `postmount-user-*`
3641

37-
They will execute in that order, either before or after the user's home directory has been mounted, and either as root or the user that's logging in. The scripts will receive the following arguments:
42+
For example a script named `postmount-user-com.example.redirect_library.sh` will execute as the user logging in after the home directory has been mounted. The following arguments are passed to each script:
3843

3944
Variable | Value | Example
4045
-------- | ----- | -------

0 commit comments

Comments
 (0)