I get very hard sebum plugs on my scalp after washing hair. Scalp also bevomes painful. There's not much flaking. Is it seb dermatitis?

Possibly. Try an anti-seb shampoo and if this FAILS see yoour PCP Primary Care Provider who may wish to refer you to a DERMATOLOGIST for a definitive diagnosis! Hope this helps! Dr Z.