Yes they do. But they produces far less secondary metabolites as compared to other bacteria. Here is a detailed pathway seen in E. coli. KEGG PATHWAY: Biosynthesis of secondary metabolites. read more
E. coli can also be classified into hundreds of strains on the basis of different serotypes. E. coli O157:H7, for example, is a well-studied strain of the bacterium E. coli, which produces Shiga-like toxins, causing severe illness by eating cheese and contaminated meat. read more