help with scripts in policys


Hi Peps

I have a shell script which i can run as root and it runs fine, however when i run via policy it doesnt work, i persume this is because it is running as the logged in user / $computerName $userName

i persume this in the policy means run as the logged in user?

How do i go about changing that to run? or will a run at startup do this?


Criss Criss Myers
Senior Customer Support Analyst (Mac Services)
Apple Certified Technical Coordinator v10.5
LIS Business Support Team
Library 301
University of Central Lancashire
Preston PR1 2HE
Ex 5054
01772 895054


Not applicable

Did you check box to run as root

Contributor III

That box doesn't exist in 6.x.

I've run into issues where the login and logout hooked scripts aren't running as root, but the user...I believe. I found this out when trying to trigger packages to install at login on an AD bound machine. Instead of using the credentials provided in the script to mount my SMB share it would always take the logged on user, then fail since they didn't have rights (I don't have my shares global read).

Craig E