Or make them look bad... if you want their position ;-) mwa-ha-ha-ha
I guess if you do it stealthily and the blame somehow doesn't fall on you. If the boss's boss finds out, then they probably aren't going to promote a backstabber into a position closer to them.