Re: Idle session logout
Kalevi Nyman <[email protected]>
| Newsgroups | gmane.comp.security.linux |
|---|---|
| Message-ID | <[email protected]> |
Sanjeev B.S. wrote: >>try to set TMOUT=<seconds> in /etc/profile. > > > TMOUT works only for bash shell users, isn't it? May be running a simple > shell script with kill -9 that checks with 'finger foo', grepping idle > time, might be a good idea. First get the pts, say 'pts/2', then check it > with ps -ef | grep 'pts/2'. Then decide whether to for logout. > > timeoutd could work also I guess. http://www-linux.gsi.de/linux-doc/timeoutd/ http://www-linux.gsi.de/linux-doc/timeoutd/README An other alternative is to use porttime. http://www.zevils.com/cgi-bin/man/man2html?porttime+5 -- Regards: Kalevi Nyman - Linux IS userfriendly! It makes friends with all willing to learn! ==============================================