I guess the assumption here is that the script is executing with higher privs than the user supplying the arguments? If that's the case, then that's what I was missing. Otherwise, there's nothing to stop the user from just typing "rm -rf /".
In any case, thank you kindly for the explanation. Much appreciated.
-- Human history becomes more and more a race between education and catastrophe. -- HG Wells
In reply to Re^8: Question using system.
by oko1
in thread Question using system.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |