Etymology
Today it means: A (male) person who always agrees with their employer or superior. Full definition →
From yes + -man.
Etymology from Wiktionary, CC BY-SA 4.0.