.logout in the user's home directory is supposed to run when the user exits. In the past I used it to assist me with my personal time accounting where I logged my logout time (and login time via my .*rc script) so I could account for my workday. Duane PS I just saw Michaels suggestion and that is a definite possibly also.