Wiping all content under /Users but admin We have hundreds of computers with LDAP setup and when students login their profiles remain for life. IS there an easy script or something that could be run to clean out the entire /Users directory all but select users?
If this is a lab you may just want to reset them back to a disk image periodically. This way any changes including any saved files will be lost, but it would return the machine back to a predetermined state.