I have a handful of workstations I need to be able to secure against people leaving themselves logged into cloud services, as well as cleaning up screenshots, personal documents, etc.
I'd like to have a script that, on logout, moves the user's home folder to a temporary location (in case files need to be recovered) so when they log in a new home folder is created. Essentially, I want to create the capability of the guest account but with some flexibility. And I'm pretty sure one of my 400 (fka CCE) classmates did exactly this last year.
The problem is that with Mojave, there seems to be something preventing the move. Even if I remove the "group:everyone deny delete" ACL from the user's folder, I still get a "operation not permitted" error.
How can I automate this process in Mojave, or what is the best way you've found to accomplish the directive I've been given to clear the workstation account on every login?
Thanks,
Chad
