That was my MOS (military occupational specialty) in my Army days: operating generators. It was a good gig. First of all the generator sites were dispersed around the Saigon area. So the enlisted men were out from under the company hierarchy; there was very little control or leadership from on high--out of sight, out of mind. Second, a generator is pretty fool proof; once you do regular maintenance there's not much else to do. So there's plenty of time for pinochle games and napping. Third, electricity is vital, almost as vital as food and water. So people don't mess with you.
But sadly progress comes to all things, even the generator operators in Afghanistan according to this Grist piece.Solar panels are more reliable and they don't require an operator.