Catalyzes the transfer of an acetyl group from acetyl coenzyme A (AcCoA) to an acceptor substrate and releases both CoA and the acetylated product. It prefers glucosamine 6-phosphate or dopamine. It can also use the thialysine, N(8)-acetylspermidine, chloramphenicol, puromycin, polymyxin B, and 4-aminobutyrate ethyl ester.