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
hotplug.d/net
init.d
iproute2
rc.button
sysctl.d
uci-defaults
banner
banner.failsafe
device_info
diag.sh
fstab
group
hosts
inittab
openwrt_release
openwrt_version
os-release
passwd
preinit
profile base-files: fix check for empty password warning 2016-09-26 17:57:56 +02:00
protocols
rc.common
rc.local
services
shadow
shells
sysctl.conf
sysupgrade.conf