This is great to make sure that people are not signing in and leaving their connection open. Who knows who can come over and start using that already authenticated connection?
Linux / UNIX Automatically Log BASH / TCSH / SSH Users Out After a Period of Inactivity.