Openwrt/package/base-files/files/etc
Matthias Schiffer 6c1542787d
base-files: fix check for empty password warning
Now that we know that the password is in /etc/shadow and not in
/etc/passwd, we can properly fix the logic for the empty password check.
Only 'root::' is an empty password, 'root' and 'root:!:' allow no
password login at all.

This fixes the empty password warning still showing after the root password
has been locked using 'passwd -l root' (e.g. to allow public-key auth
only).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-09-26 17:57:56 +02:00
..
board.d base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
hotplug.d/net sysctl: read settings from /etc/sysctl.d/*.conf 2015-07-07 13:47:23 +00:00
init.d base-files: reduce vm.min_free_kbytes for devices with 32M RAM 2016-09-16 16:44:45 +02:00
iproute2 base-files: add netifd's default prelocal table to /etc/iproute2/rt_tables 2016-02-09 12:34:05 +00:00
rc.button treewide: remove bad local shell variable declarations 2016-09-24 14:38:20 +02:00
sysctl.d sysctl: read settings from /etc/sysctl.d/*.conf 2015-07-07 13:47:23 +00:00
uci-defaults treewide: remove bad local shell variable declarations 2016-09-24 14:38:20 +02:00
banner Centralize setting of all version info to include/version.mk 2016-05-24 13:30:58 +02:00
banner.failsafe failsafe-mode: print short help on commandline 2014-10-20 06:29:05 +00:00
device_info base-files: add URL option for OEM manufacturer info 2015-10-05 10:28:53 +00:00
diag.sh
fstab base-files: remove fstab symlink 2016-06-17 04:13:07 +02:00
group
hosts base-files: add /etc/hosts entries for ::1, ff02::1 and ff02::2 2015-09-02 11:54:03 +00:00
inittab image / basefiles: make console password configurable 2016-04-18 21:53:07 +02:00
openwrt_release base-files: properly escape strings for version info 2014-07-29 13:30:23 +00:00
openwrt_version
os-release base-files: Add standard os-release file 2016-06-24 13:52:53 +02:00
passwd
preinit preinit: use only the image config options 2016-08-10 03:04:08 +02:00
profile base-files: fix check for empty password warning 2016-09-26 17:57:56 +02:00
protocols base-files: add DCCP to /etc/protocols 2015-11-15 22:09:13 +00:00
rc.common base-files: add a init.d option that will start the syscall tracer 2015-03-26 10:58:17 +00:00
rc.local
services
shadow the root password should be empty for real, like before 2014-02-21 10:39:14 +00:00
shells
sysctl.conf base-files: revert to default ECN settings 2015-10-07 21:11:24 +00:00
sysupgrade.conf