Kicking remote user off

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Tony Wasson
Date:  
Subject: Kicking remote user off
> "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.


slay is your friend.

       Slay sends given signal (KILL by default) to all processes
       belonging to user(s) given  on  the  command  line.   When
       called without arguments it displays short help.


I'd write a little cron job that checks for largish idle times and then
slays the user. I'd also edit the motd file and explain the policy - "You
need to log off when done using this machine. Users with idle times of more
than 1 hour will be booted off the system."

Tony Wasson