Re: Idle session logout
From: Kalevi Nyman (kan_at_canit.se)
Date: 10/24/04
- Previous message: Mark: "RE: Idle session logout"
- In reply to: Sanjeev B.S.: "RE: Idle session logout"
- Next in thread: Andy Smith: "Re: Idle session logout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 24 Oct 2004 09:24:47 +0200 To: "Sanjeev B.S." <sanjeev@mbu.iisc.ernet.in>
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! ==============================================
- Previous message: Mark: "RE: Idle session logout"
- In reply to: Sanjeev B.S.: "RE: Idle session logout"
- Next in thread: Andy Smith: "Re: Idle session logout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]