I'd like to run the following command every time a user logs out of his Gnome desktop.
rm -Rf /tmp/*
Is there a way to execute this command automatically as soon as they log off? There is only one user on this system at a time.
OS - Ubuntu Linux 7.10