Kicking remote user off

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeffrey Pyne
Date:  
Subject: Kicking remote user off
If they're using bash or ksh, you could set the TMOUT variable in
/etc/profile or their .profile to some value greater than 0. From the bash
manpage:

TMOUT   If set to a value greater than zero, the value is interpreted as 
        the number of seconds to wait for input after issuing the primary 
        prompt.  Bash terminates after waiting for that number of seconds 
        if input does not arrive.


~Jeff

On Thursday, February 27, 2003 11:31 PM, sundar narayanasamy wrote:

> I have lot of user who log in and don't bother to logoff. Is
> there a way I could kill their session.