I am interested in going back for my masters. While I have been accepted by a masters program (quite a while ago) previously, I am looking at another university and require a fresh set of references. I have lost track of my previous advisors and am unable to get work references.
So I need to prove myself at this point to somebody. There are some optional courses in the undergrad that I am interested in, but to be honest I could just read the textbook and save some money.
So:
Is it ethical/acceptable to take courses for the sole purpose of getting a reference letter?
and
Should I inform the prof before taking the class of my intent if this is a gray area?
Note: I know that it is still the prof's choice if I get a letter and this method is nowhere near ideal. Just the best I could come up with.

