FSMI OpenSource/ projects/ find-idle-root-shells

Some admins have the annoying habit not to close their precious root shells. This scripts puts itself into Cron and detects forgotten root shells. Cron then mails the administrator to notify him about this security issue.

The script also includes functionality to kill such root shells automatically, if the parent is owned by a user with low privileges (i.e. not in group adm).

Requirements

perl, module Sys::Utmp and module Proc::ProcessTable.

How to get it

The source code repository is available using git by running "git clone git://opensource.fsmi.uni-karlsruhe.de/git/find-idle-root-shells.git". Debian packages for Debian Etch are available in our repository as well as the most current release tarball.

Copyright and License

Copyright (C) 2007 Fabian Knittel fabian.knittel@fsmi.uni-karlsruhe.de

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.