Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Killing Idle or stuck users in AIX version 3.2

Status
Not open for further replies.

tjbhaft

Programmer
Oct 29, 2003
2
US
Is there a script to kill users when they inadvertantly get disconnected via telnet session (over the internet) and their users ids still show up as logged in when doing !who.

i know there is one for SCO unix(Autolog) that lets you set idle time with a grace period for selected user ids.

is there anything like this for aix. (ALSO upgrading to newer version is not an option due to customer finances).

thanks
tom
 
Have you tried setting a TMOUT variable in /etc/environment? Just set the variable to the number of seconds of inactivity before log off.
 
i dont want to have a timeout for everyone just a few select users who log in remotely over the internet.
is there a way to do this

for example

users bob123, mary456, jim789 are users who telnet in over the internet. occasionaly they get disconnected but still show up as logged into the system Is there a way to say
if no activity of these users for 60 minutes or more only kill their processes to the above users if they exceed their time limit

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top