I've been thinking of doing some of this "try to make (l)users
at least a _tiny_ bit more paranoid" stuff myself... ;)
If I ever finish & release my usenet autopost unix shell script,
I'm thinking of adding something like this:
if [ `id` = 0 ];
echo "hey now, why are you running this as root?"
echo "That's not very safe, I might have 'rm -Rf'ed"
echo "your root partition!.."
echo "Better check my source to see I didn't do anything naughty"
echo "and please run me as a normal user next time...";
fi
Ugh, too much VB, too little shell, my shell is getting rusty! :(
SD Maruko-kun (a bit of paranoia is good)
|