[mdlug] logout script?
Aaron Kulkis
akulkis3 at hotpop.com
Fri Dec 29 13:14:35 EST 2006
Craig Maloney wrote:
> Well, you could make their login shell the script, so you'd set up the
> login environment and then run the application. As soon as they exit the
> application, it'll kick them off the system.
>
> Or is there something I'm missing here?
Yeah...they exec the application (which is to say, the application
REPLACES the login shell, keeping the same process ID number) so as
to free up the shell's memory space.
Your method results in a persistant shell.
In my opinion though, the solution is to either buy more memory,
or make more swap space (to provide for more virtual memory
address range).
More information about the mdlug
mailing list