[systemd-devel] sysusers and login.defs checks
Colin Guthrie
gmane at colin.guthr.ie
Sun Jul 20 15:30:20 PDT 2014
'Twas brillig, and Reindl Harald at 20/07/14 22:52 did gyre and gimble:
>
> Am 20.07.2014 23:38, schrieb Colin Guthrie:
>> '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...
>
> why is it not readable?
No idea. Probably some pseudo "security" related reason dating back many
years.
Perms here are:
-rw-r----- 1 root shadow
I can't really think of any reason as to why this would genuinely help,
but then I can't think why a regular user.
Not a big deal in this case really tho' - I think the original argument
still stands.
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the systemd-devel
mailing list