Setting an idle timeout for logged in sessions
I have been seatching in vain for several days for a way to set up a system wide default of logging out idle sessions.
I looked into the sshd_config way (ClientAliveInterval) and that didn't work.
I looked for a way to make PAM do this, but couldn't see anything but restricting the times that users could log in (who does this nowadays anyway?).
I have seen hundreds of thousands of pages about timing out ftp and telnet sessions, but nothing on setting this as a system wide default. So that no matter how you were logged in (console, ssh, telnet, etc.) it woulg log your out after a certain amount of idle time.
I looked into the sshd_config way (ClientAliveInterval) and that didn't work.
I looked for a way to make PAM do this, but couldn't see anything but restricting the times that users could log in (who does this nowadays anyway?).
I have seen hundreds of thousands of pages about timing out ftp and telnet sessions, but nothing on setting this as a system wide default. So that no matter how you were logged in (console, ssh, telnet, etc.) it woulg log your out after a certain amount of idle time.
