Commit f54f464
committed
(PUP-11081) Allow access to user keychains from macOS daemon
By default, launchd plists do not provide access to user keychains (i.e.
having the daemon run `security list-keychains` as a different user will
not list the user's keychains).
There isn't really any reason why we shouldn't allow this in the puppet
plist especially since having `puppet agent -t` run the same command
works, it's just runs from the daemon that are affected.
Apple documentation for `SessionCreate` states the following:
> SessionCreate <boolean>
> This key specifies that the job should be spawned into a new security
> audit session rather than the default session for the context is belongs
> to. See auditon(2) for details.
Relevant SO answer: https://stackoverflow.com/a/9482707/10745581 parent 2fde3e6 commit f54f464
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
0 commit comments