[mdlug] logout script?

Wojtak, Greg GregWojtak at quickenloans.com
Fri Dec 15 09:31:13 EST 2006


Here¹s a problem we¹ve been banging our heads against for the past week.  We
have an application running where users telnet into the server, and their
profile sets up their environment appropriately and then ushers them into
the application.  Is there any way to execute a script as they are exiting?
The biggest kicker is that the user's login shell is replaced with the
application as we exec it from their profiles.  This is to save process
space, otherwise we would run out of process slots.  Basically, the only
thing running is a telnetd for each user plus the application process.  Does
anyone have any ideas?  I presume to accomplish something like this, I would
have to use some functionality either of telnetd, login, or getty maybe.  If
someone comes up with a good solution, I can offer a coveted no-prize... :-/

Greg



More information about the mdlug mailing list