The restrictions are on some interesting aspects, like real estates purchases, college entrance exam for children, social security stuffs.
Hukou is evil, just not the kind of evil you are thinking about.
However, except for marrying or (sometimes) after graduation from college, you are not allowed to change your Hukou. Many (most?) of the people living and working in the 'supercites' of Shenzhen, Shanghai, Chongqing, and Beijing do not have Hukou residency. Even being born there does not confer the right, if your parents do not have residency.
Lack of Hukou prevents purchase of real-estate, and high-school education for children, but for the last 2 years it has been possible to get state healthcare. This leads to much higher costs of living which prevents the poor from moving to the cities en masse.
what about moving from a rural town to to a major city permanently? or even just being able to legally work in a major city as someone who isnt able to get the proper clearance?
if im misunderstanding, please educate me