The unknown gunmen attacked the community at midnight on Saturday and abducted one other person.
The police command in Ogun State said it was going to do everything within its powers to reveal those behind the gruesome murder.
The deceased persons went to bed the previous night and their lifeless bodies were discovered the following morning.
Two human legs and arms were found in the house of Olaolu Falowo, 26, while a human skull was found in a sack in his father’s house.
One of the impersonators confessed that he was never a soldier, but liked the uniform and bought it from an open market.
The recalcitrant officer is Babatunde Adebayo, serving at Shogunle Divison of the Lagos Police Command.
The accident involved a fully loaded commercial bus headed to Katsina from Lagos and an articulated vehicle loaded with cement.
The areas affected include Nkanu East and Nkanu West LGAs and communities in Enugu South LGA.
Some inmates were said to have tried to escape during the morning sanitation at the prison.
The police said they are investigating the circumstances surrounding the incident.