On Thu, 2002-03-28 at 15:47, jam McQuil Com wrote:
> I would change the rm command to this:
>
>
> rm -rvf /var/spool/squid/*
>
> That way, if the cd fails, you won't accidentally
> delete something unexpected.
Okay, how about this....
su -s /bin/sh squid
rm -rfv /var/spool/squid/*
That way if you did screw up the "rm" command, it would only wipe out
stuff owned by squid.
> But, be VERY careful. accidentally putting a
> space after the first slash could ruin your day :)
This should be manditory reading material:
http://www2.hunter.com/~skh/humor/admin-horror.html
-Eric
Attachment:
signature.asc
Description: This is a digitally signed message part