re: kill -9
Posted in 1994
> > You could always write a shell script (or c) which checks for arg[1] of -9 > and disallows it. Anything else, pass on to the old kill, now called kill.exe > or something. Just a thought :-))) <-- double chins! > > Ann > I will be so bold as to suggest a script to replace kill which checks to ensure that the process to be terminated is not an sqlexec (or a parent thereof?) before proceeding to call the real kill. This way it won't interfere with the OS use and it WILL trap and disallow a user trying to commit ritual sepuku. If you want to get real fancy it could also check the flags to see if the sqlexec was in a critical section and allow kills on those which won't cause problems. cheers j. _____________________________________________________________________________ Jack Parker | Hewlett Packard, BSMC Boise, Idaho, USA| Domini, Domini, Domini jparker@hpbs3645.boi.hp.com | you're all Catholic now. (208) 396-5388 (W) (208) 384-1623 (H) | - FT _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________