mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-28 08:22:28 +00: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