Because of some conflict with configuration policy we are not able to enable the guest account on student computers. I am trying to work around this by making a pseudo guest account wherein a template is created and after every logout the system deletes the folders are replaces it with the template.
Does anyone have suggestions on how to accomplish this? I hear logout scripts are depreciated but it looks to be the only option. These computers are running Yosemite.
My scripting knowledge is limited so detail explanations are helpful.
Solved! Go to Solution.
I would still use a logout script for now, it could be a one line policy that runs a command to check who the user is and delete the home folder if the name matches the one you've set.
I agree, logout scripts are still the best / most consistent way to do this. If they did disappear you would be looking at the recurring check-in trigger instead, but that wouldn't be ideal.
I downloaded and attempted to run the script linked-to above but got the error that the os will not run tcsh scripts. Is there a more recent version of either this script, or a similar script that will run on 10.13? Thanks!