Thus said Jeff Schroeder on Mon, 03 Apr 2006 17:42:43 MDT:

> #!/bin/bash
> out=/tmp/`date +%s`$$
> cat > $out
> if [ -z "`grep 'evil stuff' $out`" ]; then
> cat $out > /var/qmail/bin/qmail-queue
> rm -f $out
> fi

At least one critical error exists in this script. You don't really want
to overwrite /var/qmail/bin/qmail-queue do you?

Andy
-- 
[-----------[system uptime]--------------------------------------------]
  8:41pm  up 1 day, 12:03,  3 users,  load average: 1.14, 1.08, 1.08



/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to