Dunas is a penal colony of the Galactic Empire. All sorts of criminals from all ends of the galaxy get sent there: from cold-blooded killers to political opposition to lousy poets to tenant farmers who fell in to debt. It's a great place for a penal colony since it can support agriculture and also has a wealth of minerals to ship off. Also, its highly charged ionosphere makes it impossible to get on or off except via the space elevator that connects to a single space port. While there is a contingent of government officials, the planet is run by the prisoners. A small garrison only has to protect the space port, and the number of prisoners on planet at any given time is tightly regulated.
After the Flood
3 hours ago