Aparte de lo que se está comentando, también te puede interesar el paquete "autolog":
Description: Terminates connections for idle users Autolog terminates connections considered to be idle based on a large variety of parameters. -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140924204358.ga6...@cantor.unex.es