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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Abort/logout after a period of inactivity 1

Status
Not open for further replies.

smah

MIS
Sep 4, 2002
9,396
US
I have a couple of users that share a remote terminal. They have different capabilities within our main application. The user with greater capabailities has a bad habit of staying logged in while away from the terminal.

Is there a way to automatically abort this user session after some period of inactivity?
 
Do you have MPEX from VESOFT? There is a utility/job BACKG that allows you to abort inactive users.
 
You can also change the CI TIMEOUT value in SYSGEN, it is in the MISC section.

Hope this helps.
 
I do not appear to have MPEX.

Thanks for the CI TIMEOUT info, I didn't realize that that was there. I may have a go of that, but I'm not sure I can come up with a time that will accomplish what I want, without inconveniencing the other users.

As you may have guessed, I inherited this beast and it is definately not my area of expertise. Do you have any other suggestions? I really only need/want it to apply to this 1 user (or I suppose that 1 terminal).
 
The only other thing I can think of is writing a script/program that finds the user(s) specific session, then do a showproc on the session number, write that output to a file and compares it to the previous run. If the CPU time for all the accumulated PINS stays the same (indicating an inactive session), then abort the session. If your not familar with MPE this won't be easy. MPEX isn't that expensive and you can control which users you want/don't want to abort for inactivity.

TAW
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top