A job that you got via connections who know and trust your technical ability is an earned job.
it can be hard to know which is which sometimes.
For instance, a secretary who has a friend who is "really good with computers" who submits her resume for a job as a DBA, and that friend gets hired on the basis of that recommendation -- yes, the friend was someone I knew. I guess you could say the friend earned the job based on the criteria put forward, but not on any basis that is good for her, the company, or the DBA profession as a whole.