Grated Parmesan cheese that is bad has a sour smell, or you might spot mold. Mold is white, green, or blue.