A leader of a white supremacist prison gang in Idaho has been sentenced to life in prison on racketeering and other charges, authorities said.