diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-11-17 09:40:06 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-11-17 09:40:06 +0000 |
commit | 010e58d2092b6c8637a84eba7d9d1d43dfd71b39 (patch) | |
tree | e7aebf89fc025fffe94c32ec0724a7baf91b45cd /package/base-files/files | |
parent | 33443d2a8c3a202311751c6de72d7815d22f79f7 (diff) | |
download | mtk-20170518-010e58d2092b6c8637a84eba7d9d1d43dfd71b39.zip mtk-20170518-010e58d2092b6c8637a84eba7d9d1d43dfd71b39.tar.gz mtk-20170518-010e58d2092b6c8637a84eba7d9d1d43dfd71b39.tar.bz2 |
base-files: another empty password check fix (#10440)
SVN-Revision: 29208
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-x | package/base-files/files/bin/login.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/bin/login.sh b/package/base-files/files/bin/login.sh index 6682b02..04b3fe2 100755 --- a/package/base-files/files/bin/login.sh +++ b/package/base-files/files/bin/login.sh @@ -1,7 +1,7 @@ #!/bin/sh # Copyright (C) 2006-2011 OpenWrt.org -if ( ! grep -qs '^root::' /etc/shadow || \ +if ( ! grep -qs '^root:[!x]\?:' /etc/shadow || \ ! grep -qs '^root:[!x]\?:' /etc/passwd ) && \ [ -z "$FAILSAFE" ] then |