[Casper] after image, first time run scripts

Jeremy Matthews jeremymatthews at mac.com
Mon Dec 15 12:08:09 PST 2008


We actually do this in a few spots.

We have several packages and scripts that run after a machine is  
booted for the first time via LaunchDaemon (some after someone first  
logs in) - this does a number of things, including:

1) Renaming the system volume so our scripts actually work!
2) installing casper and creating a casper-only service account
3) creating a new hidden admin account (and removing the temporary one)
4) installing computrace
5) creating a loginhook for all users
6) naming the machine
7) setting ARD access
8) Installing certs and binding to our OD Server via SSL
9) Cleaning up caches
10) Fixing permissions
....etc

....then the script securely deletes each item, including the  
LaunchDaemon, while securely deleting itself last.
Works great!

-jeremy


More information about the Casper mailing list