in reply to patricide / matricide
Update:
I just looked at what you're doing more closely, and I'm a bit curious about how you intend to guarantee that your kill call actually gets executed. A crafty user (if there are any trying to subvert your desires), could potentially interrupt or kill your script before it gets to the end, leaving them with an open shell. If your script is such that they'll never get the opportunity to do something like that, then you'll be fine. But just in case, you may want to toss in some signal handlers (e.g. SIGINT, SIGKILL, etc) that kills the shell as well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: patricide / matricide
by dshahin (Pilgrim) on Mar 10, 2001 at 04:46 UTC | |
by arhuman (Vicar) on Mar 10, 2001 at 04:55 UTC | |
by AgentM (Curate) on Mar 10, 2001 at 06:08 UTC | |
by dshahin (Pilgrim) on Mar 10, 2001 at 05:48 UTC |