I have a Unix system with serial and tcp/ip connections.
When a user logs via tcp/ip with certain user accounts, it automatically
runs an RM-COBOL program, so the processes associated to that session are
two, one for sh, and the other for runcobol.
If that user logs out improperly (say, not going backward, but just
pressing the Disconnect button in the Tiny term session), both processes
remain running, associated to the particular tcp/ip session (ttyp5, for
example), but not listed in the who command.
My problem is that those processes significantly slow down the Unix
server, the question is:
How can I do to automatically logs out that "lost" sessions, 30 minutes
after no activity? I've tried with the idleout but it didn't work.
Thanks in advance