SecondSonConsulting / Baseline

An MDM agnostic zero touch solution for macOS
MIT License
192 stars 22 forks source link

Feature Request: "run as current user" script option #45

Open mhrono opened 5 months ago

mhrono commented 5 months ago

Baseline currently executes all configured steps as root (as it generally should), which of course enables it to install packages, run scripts to use the jamf binary, etc.

In the case of something like setting a dock configuration with a script, it'd be neat to have a per-script key for Baseline to run that item as the currently signed-in user to avoid the script author or user having to handle this logic.

I realize the use case for this is fairly specific, though I'm sure there are other scenarios I can't think of at the moment. Totally understand if this is too niche to bother implementing!