If the military allows abberant behavior on base or on-duty, then some leaders need to be retired. You don't keep people out of the military because the leaders are too weak to manage and enforce the rules of conduct.
I said what I have to say about showers above. Oh, and read what the other guy said before.
I supervised showers in several men's prisons for two decades and never made a move or fell in love.
By the way, the UCMJ forbids oral sex, anal sex, indecent public acts, and pretty much any sex that isn't conducted in a missionary position for the purpose of procreation. How are you going to square that with gays?