The authors study, in a quasi-linear approximation, the absorption of oscillations excited by an electron beam in a non-uniform plasma. They find the change in the plasma electron distribution function with heating for two limiting cases: a plasma in a strong magnetic field, and a plasma without any field.