Does anyone have a way to run a script on a remote computer via casper as the logged-in user?
I'm trying to quit the Junos Pulse tray in the menu bar so that the connection URL can be updated. Although locally I have no problem using LAUNCHCTL UNLOAD ... to unload it to make it quit, if I use the same command in a policy, it doesn't work because that plist isn't active under the root user.
I'v also run into other situations where it would be good to run a script as the logged in user rather than root before as well.
is there way?