In the last few years I have received several job recommendations from people that I worked with ten to fifteen years ago. At the time, I had no idea that being fair and helpful to these people could benefit me in the future. Over ten or twenty years, your reputation will follow you and can make or break job opportunities. Also, never take a cheap shot at someone. This type of behavior is sure to come back and haunt you.
Most organizations function along a military structure.
This means that you need to follow your chain of command and get out if you find yourself unable to do what your boss asks. Bypassing your boss is usually tantamount to declaring office war.