SecondSonConsulting / Baseline

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

Consider adding "UserScripts" configuration profile key #18

Closed BigMacAdmin closed 1 year ago

BigMacAdmin commented 1 year ago

Many times we want scripts to run as the currently logged in user. There are ways to get Baseline to do this already, but it may require making multiple versions of a script or adding repeated functions to multiple scripts.

If Baseline had a built in function to run scripts as user this may simplify things for some admins.

BigMacAdmin commented 1 year ago

I'm cancelling this idea, there are too many potential pitfalls and this is already doable by admins configuring runAsUser in their own scripts.