General Curtis LeMay, USAF (former head of the
Strategic Air Command and serving at the time as
Chief of Staff of the Air Force), used his influence to allow producer
Sy Bartlett and director
Delbert Mann unprecedented access to various SAC facilities in the belief that the film would remind Americans that the Air Force had powerful weapons under tight control. Mann, a former World War II bomber pilot who had won an
Academy Award for his first film (
Marty), was eager to demonstrate that he could direct serious material and not merely light-hearted comedies. Filming took place at
Beale Air Force Base,
California featuring the
Boeing B-52 Stratofortress,
Boeing KC-135 Stratotanker and
Lockheed T-33 aircraft,
Martin Marietta Titan I missile sites and personnel of the
456th Strategic Aerospace Wing. The military housing shown in several scenes is still used today as base housing at Beale for senior commanders of the
9th Reconnaissance Wing. It was originally announced that
John Gavin would support Rock Hudson.
Tom Lehrer wrote one original song for this film, "The SAC Song".
Rod Taylor, as Hollis Farr, performs this song at a party for officers and their wives. As Bartlett and Mann were filming at SAC headquarters at
Offutt Air Force Base in
Omaha, Nebraska, they noticed that SAC personnel were unusually tense. They would later learn that SAC had recently learned of
Nikita Khrushchev's plan to introduce nuclear-tipped ballistic missiles into
Cuba. A subplot in the film in which Colonel Farr has an affair with Colonel Caldwell's wife, played by
Mary Peach, was removed during postproduction. The original choice for Mary Peach's role was
Julie Andrews, but according to screenwriter Robert Pirosh, Mann thought that Andrews could not act, only sing. Pirosh felt there was no rapport between Hudson and Peach. ==Allusions to actual history==