The component that is reading UID_MAX is accounts service which is why restarting lightdm would have no effect.
The component that is reading UID_MAX is accounts service which is why restarting lightdm would have no effect.