The Nigerian government says five cabinet ministers have left their posts so that they can run for elected positions next year .