Not to be a scatological spoilsport, but I just wanted to note for the record that the etymology of うんちく comes from two kanji meaning to amass or accumulate (薀蓄, the latter also used in the verb 蓄える), meaning that, sadly, any association with うんこ先生 is only coincidental.