Hi,
I'm experimenting with a login script (triggered by a LaunchAgent) that moves the logged in user's Desktop folder to a new location while symlinking another folder to the Desktop folder, effectively displaying another folder's contents on the actual Desktop. It's working perfectly on users that are sudoers, but fails if they are not, because of insufficient privileges.
Can I run the script when a non-sudoer logs in, but with higher (such as an arbitrary sudoer account or even root) privileges somehow? Has anyone attempted this?
Thanks,
Samuel