How can I kill mex automatically when logging out (like something in the .logout file) ? If mex is left running, anyone can come along and start a new shell as the old user -- doesn't this seem to be a real problem ?! Thanx