Twelve Nigerian soldiers were on Tuesday sentenced to death for mutiny after shots were fired at their commanding officer in the restive northeast city of Maiduguri earlier this year.