I would never have run this exploit on a production server, but considering that I didn't ask permission to do it at all, he has reason for concern! His main point was that I should at least let someone know so it is known that my purposes aren't nefarious.
Thanks for the input and giving me perspective on the situation.
Compliments work so much better than rebukes in situations like this.
Wow George that was really clever of you, why don't we have lunch together.
And informally:
What do you think could have happened ?
What do you think would have been the consequences if your attempt had led to a system crash or worse ?
How should we deal with this next time you have a burning urge to try something like this ?
What would you have done if you were in my shoes and someone crashed a server on purpose ? (yes it was a dev box)
So, in closing George, I'm really happy that you brought this to my attention, but in the future the best way to deal with this sort of situation is to first talk it over with someone higher up before hitting 'go'.
To put this in perspective: assessing the security of app servers is my day job, and I would typically ask before running a privilege escalation exploit on a box I had gained access to.
Your boss overreacted, but unlike the rest of this thread, I don't think there are tea leaves to read. Had you done this on a prod server, your boss might have even been right.