A person is typically called to be a general authority or general officer by a member of the First Presidency or the Quorum of the Twelve.
As with any calling in the church, general authorities and general officers serve "until they are released".