UNITED NATIONS — The five permanent members of the United Nations Security Council have agreed on a resolution that will require Syria to give up its chemical weapons, but there will be no automatic penalties if the Syrians fail to comply, officials said Thursday.