The people processing us through the terminal told us to change into civilian clothes if we were leaving the base or if we were going on commercial flights originating in SFO.
FYI I also saw the same tactics at RAF Greenham Commons years later when we were deploying the GLCMs (Ground Launched Cruise Missiles) there. At least the British added nude women to the deal although they were hairy and probably smelled bad.