You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
8 years ago
..
bin base-files: board_detect: allow specifying the generated file 8 years ago
etc base-files: fix check for empty password warning 8 years ago
lib base-files: set pi_ifname in board.d case to fix deconfig 8 years ago
rom
sbin base-files: use procd init for urandom_seed 8 years ago
usr base-files: Add standard os-release file 8 years ago