Closed homebysix closed 3 years ago
Using both launchctl asuser and sudo -u to run in user context, as demonstrated here: https://scriptingosx.com/2020/08/running-a-command-as-another-user/
launchctl asuser
sudo -u
Awaiting testing results from volunteers before merging.
Tested successfully.
Using both
launchctl asuser
andsudo -u
to run in user context, as demonstrated here: https://scriptingosx.com/2020/08/running-a-command-as-another-user/Awaiting testing results from volunteers before merging.