The president, however, can influence and shape legislation by a threat of a veto. By threading a veto, the president can persuade legislators to alter the content of the bill to be more acceptable to the president. Congress can override a veto by passing the act by a two-thirds vote in both the house and the senate.