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.