Hi, On a public surf station i wanted to allow a guest user using a session and after an (automatical) logout all his userdata to replace and have a fresh clean session for the next user. I did this by modifying /etc/gdm/PostSession/Default. I simply added something like: rm -rf /home/guest cp -af /home/backup /home/guest
By the way I am using Ubuntu 8.10. I thought all left over guest user data will deleted and everything (including icon position etc) will be restored. If I do this manually everything worked like I expected. But in the Logout Script, it seams that some files are not deletable. (maybe still in use) and I run into strange things, and often the computer is using a new default home directory for guest.
So how can i realize this working? Is there maybe a better location for my script? Or a better way of doing this? Guests home in an temporal dataspace? Thanks for the help Guido