The maintenance manual will specify what the manufacturer wants. Cessna wants a MIL-spec oil in some, and dry graphite in the aileron hinges (piano-hinge type hinge). I frequently encounter worn aileron hinges that have been faithfully oiled so that dust gets in there and sticks and grinds that thin aluminum hinge all to bits. The elevator and rudder bearings get greased on assembly, and a bit of the MIL-spec oil in them (one drop or maybe two) will keep them free.
Getting dry graphite into a piano hinge is fun. I mix some with a bit of brake cleaner fluid and drop it on with a syringe. It wicks in, the brake cleaner dries up, and the graphite is where it needs to be.
Some guys spritz everything with LPS. The problem with spray cans is that they shoot about 20 times as much lube as is needed, and most of it goes onto everything but where it needs to be, and it just gums up and makes a mess. Flap rollers are a prime example. And flap microswitches suffer from being polluted with it, too. Cheap syringes from the druggist are handy for precision lubrication. Stick an old LPS or WD-40 plastic tube in the syringe to get into tiny places.