[Casper] Flushing User Caches

Thomas Larkin tlarki at kckps.org
Wed Jan 21 12:50:48 PST 2009


Gene,

What you can do is have a policy set for log in via JSS web front end and have it execute the script.  Can you post your script?  I assume removing the temp and cache files the application will create new ones upon next launch, and they are stored in that user's home directory.  So you can wild card or loop it for user's that are located in /Users and exclude shared if need be.

Thanks, 
 

___________________________
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry:  913-449-7589
office:  913-627-0351





>>> "Gene Anderson" <ganderson at phrd.ab.ca> 01/21/09 2:35 PM >>> 
Good day to all!

I'm looking to find a script/policy/action that would on a user login flush the user's cache folder. Specifically I'd like to dump the Safari cache, but I'll settle for flushing the entire cache folder. I'd like to do it on login rather than logout. I tried using the JamF flushusercaches.sh script that is included with the downloadable Resource kit, but it doesn't seem to want to work, and policy log only indicates script execution and no other details. I tried my own custom script, but it didn't
seem to work either as it executes at a system level rather than as the logged in user. 

I'd like to do this with Casper if possible as I don't have access for an OpenDirectory server for all my users. Any suggestions on the best way to do this would be appreciated. 



Gene Anderson
Systems Analyst, ACTC, MCP
Pembina Hills Regional Division No.7
Phone: (780) 674-8535 ext 6860
email: ganderson at phrd.ab.ca

"Passwords are like bubble gum, strongest when fresh, should never be
used by groups and create a sticky mess when left laying around"

-anon


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



More information about the Casper mailing list