mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-06-10 12:10:31 +01:00
added runAsUser
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
|
||||
# SERVICE SCRIPT CALLED BY OTHER SCRIPTS
|
||||
|
||||
# RUNS AS USER
|
||||
sudo -u $(stat -f "%Su" /dev/console) /bin/sh <<'END'
|
||||
|
||||
|
||||
cd /Library/Application\ Support/Purple/
|
||||
|
||||
# CHECKS FOR DIALOG AND PRESENTS IF REQUESTED
|
||||
|
||||
Reference in New Issue
Block a user