H.3. Ensuring that all Processes/Programs are Really Finished When Logging Out

It's a bit of a problem when OpenOffice often freezes when ending the program, even after the user has logged out. It seems as if shutting off OpenOffice by clicking on the "x" up in the right corner doesn't really do the job right. And if OpenOffice freezes that way, it may not start again when the next user logs on.

There is a way to ensure that all processes really are finished when a user logs out.

Ensuring that all Processes are Finished

This script will make certain that all processes currently run by a user will really be terminated when he logs out, with the exception of root processes.