logout file solaris 10

hello!,I need to execute a bash script when any user logs in and out, can you tell me where are the files I need to modify in order to accomplish this?Thanks!
[179 byte] By [OdinDarkesta] at [2007-11-27 7:57:39]
# 1
man bash, if you use bash.Other shells support a .logout file as well.
wsandersa at 2007-7-12 19:39:32 > top of Java-index,General,Talk to the Sysop...