I am trying to configure a login policy to modify the side bar (using
mysides & sfltool), however whenever the policy runs it is running as
the root user. Does anyone have a working login policy that runs as the
user logging in?
Yes it is running a script.$3 variable returns the correct user that is
logging in.What would be the best way to prefix lines in my script to be
running as that user?For example: /usr/local/bin/mysides remove iCloud
x-apple-finder:icloud