[Casper] help with scripts in policys

Ernst, Craig S. ERNSTCS at uwec.edu
Tue Sep 9 07:31:21 PDT 2008


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


On 9/9/08 8:10 AM, "enrique silberg" <enrique.silberg at yr.com> wrote:

Did you check box to run as root


On 9/9/08 9:00 AM, "Criss  Myers" <CMyers at uclan.ac.uk> wrote:



 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



  CleanUpAdobe.sh / $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?



 Regards



 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


________________________________
_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080909/f7341c69/attachment.htm 


More information about the Casper mailing list