I am a Linux/UNIX admin, but it has been two years since I have had a job. So to say I am a little rusty is an understatement. I have noticed that at my new job there are tons of sessions just sitting out there. They are using CentOS but I believe this is a pretty universal setting. I want to set the machines to shed ssh and telnet sessions if they are inactive for 30 minutes. This was done at my last place but for the life of me I can't find the answer on the web. Could someone tell me if there is a way to do this without setting it in each users .profile?! I just want to kill them off, also can this work if they are using X11 sessions as well? Any help is very much appreciated.