Kiosk Computer

1. Make an user

sudo adduser guest ### guest = username

2. Login as the user and set all settings as you wand and logout. Login to the administravive account and copy ”guest” home directory folder contents excluding .bash_logout .bashrc and .profile to /etc/skel

3. Delete ”guest” home directory
sudo rm -rf /home/guest

4. Edit /etc/rc.local file

#!/bin/sh -e
#
# rc.local
mkdir /tmp/guest
rsync -av /etc/skel/ /tmp/guest
chown guest -R /tmp/guest
ln -s /tmp/guest /home

exit 0

Now temporary home-directory resets in every reboot.