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? [root@srv-rhsoft:~]$ rpm -q --file /etc/login.defs shadow-utils-4.1.5.1-8.fc20.x86_64 [root@srv-rhsoft:~]$ stat /etc/login.defs File: '/etc/login.defs' Size: 1475 Blocks: 8 IO Block: 4096 regular file Device: 901h/2305d Inode: 1179182 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2011-08-02 14:24:16.000000000 +0200 Modify: 2011-08-02 14:24:16.000000000 +0200 Change: 2014-03-01 21:20:57.113612115 +0100
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel