The invention relates to prodrugs of N-substituted derivatives of 6-aminouracils, 6-aminoisocytosines, guanines, and 2-aminoadenines. The N-linked substituents include an ester group that is cleaved upon administration into a subject to yield a substituent having a terminal hydroxyl group. Pharmaceutical compositions including these compounds, and methods for treating Gram-positive bacterial infections using these compounds, are also disclosed.