Posted on 11-24-2014 10:31 AM
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.
Posted on 11-24-2014 10:44 AM
You may want to take a look at Mike Bombich's refresh-default-homedir.sh script:
AFP548.com has it hosted here:
Posted on 11-24-2014 10:44 AM
You may want to take a look at Mike Bombich's refresh-default-homedir.sh script:
AFP548.com has it hosted here:
Posted on 11-24-2014 03:17 PM
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.
Posted on 11-25-2014 06:48 AM
Thank you for your replies I will try these out.
Posted on 08-30-2018 01:18 PM
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!