I make a copy of all home directories in to /etc/backups/ (auto login usernames)
At boot I have it run a script that copies over the user home directory with
the original.
Takes a little longer to boot but was an essential component for a library
system so each patron gets a fresh desktop and
I've done something like this. In /usr/share/ldm/rc.d/S00-guest-sessions
I put this line
case "$LDM_USERNAME" in
WipedUserHere*)
ssh -S "$LDM_SOCKET" "$LDM_SERVER" 'cd; rsync -av --delete /etc/backups$
;;
esac
then I keep copies of the the home directories in /etc/backup
Whe