You need to escape the quotation marks around Find My Mac. See the
following:osascript -e 'set message to "Hey there! IT requests you
please stop using \"Find My Mac\" on this MacBook Pro as it has been
found to interfere with our Mobile Device Manag...
I'm seeing this as well and don't remember when exactly this changed. I
just ended up creating a bookmark for my profile, but we shouldn't have
to do that. There should be another section that links to our profile,
recent discussions, feature request...
@daniel_ross To run a command as the user, you'll need to use sudo. For
the command you've mentioned, it would look like the following:
currentUser=$(stat -f%Su /dev/console) sudo -u "$currentUser" diskutil
resetUserPermissions / $(id -u) Also, note ...