Pentacyclic triterpene derivatives possessing polyhydroxyl ring A inhibit gram-positive bacteria growth by regulating metabolism and virulence genes expression.