The duties, powers and privileges of officers of every character in any way connected with the city government, not herein defined, shall be prescribed by ordinance. And bonds may be required of any such officers for faithfulness in office in all respects.