I run a bunch of Macs with MyPC at my library. It uses the same Active Directory account to log in for every user. Currently, we use Deep Freeze as a means to keep personal information from remaining between sessions. I would like to remove our dependance on Deep Freeze and some of the issues it has. To accomplish this, I was thinking I could delete the MyPC mobile account that gets used during login (using dscl and rm -rf on the home directory). That would remove any files or settings from the previous user.
There doesn't seem to be a way to run a script after a user logs out.
Does anybody know of a way to do this?
