I thought about this a lot as junior officer who had the pleasure to work for a few officers that were dreadfully weak. I came to the philosophy of staying focused on the mission and my men; and using as my guiding context that "while it is sometimes right to do the wrong thing, it is never wrong to do the right thing." Just be prepared to stand tall and take the consequences when one makes that conscious decision to deviate of the directed path.

To blindly follow stupid orders (not inartful ones, but ones that put the mission or your men at risk) is a brand of careerism encouraged by the senior rater profile system. But those who break rules just to be a maverick or for self-serving reasons never impressed me much, nor those who would attempt to dodge responsibility when caught.