The French Gendarmerie has been running Linux for a while now https://en.wikipedia.org/wiki/GendBuntu.
I don't know the details but it seems like a good first step.