The board members operate only at the pleasure of the shareholders, so the shareholders ultimately determine CEO pay and are the ones who are paying it. Shareholders can (and often do) sell their stock the moment they don't like what the board and CEO are doing.