Whenever I find an account like that on a public computer I write a status saying something to the effect of, "Note to self, don't leave my account logged on when I'm using a public computer." People don't learn anything if you just log out. I think that if someone leaves a message or something the person will hopefully be more mindful of doing it in the future.