[systemd-devel] sysusers and login.defs checks

Lennart Poettering lennart at poettering.net
Mon Jul 21 06:44:50 PDT 2014


On Sun, 20.07.14 22:38, Colin Guthrie (gmane at colin.guthr.ie) wrote:

> 
> 'Twas brillig, and Colin Guthrie at 20/07/14 22:31 did gyre and gimble:
> > Those defaults could be set from a compile time check of
> > login.defs too.
> 
> FWIW, at least here, /etc/login.defs is not readable by regular users so
> any build system that builds as non-root won't even get those defaults
> anyway, so that's probably another argument for runtime checks too...

That sounds snake-oilish and broken, really...

Either way, there's a configure option --with-system-uid-max= (as well
as --with-system-gid-max=) to make the right choice for your
distribution...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list