[mdlug] logout script?
Michael Corral
micorral at comcast.net
Wed Dec 20 23:45:11 EST 2006
2006-12-20, Monsieur Duane Brown a ecrit:
> .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.
That is definitely the way to do it if the user's shell is bash.
But I think Greg mentioned /usr/bin/ksh, and Korn shell doesn't use
the ~/.logout file, from what I've seen. I wish it did. :)
Michael
More information about the mdlug
mailing list