From 4bcf0d6b440bfa6e73fd3eeaf7a19a16aa03b4f3 Mon Sep 17 00:00:00 2001 From: Locutus73 Date: Thu, 4 Apr 2019 11:21:30 +0200 Subject: [PATCH] Version 1.2.3 Refined the check for standard root password. --- security_fixes.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/security_fixes.sh b/security_fixes.sh index 9c23516..7dc9498 100644 --- a/security_fixes.sh +++ b/security_fixes.sh @@ -18,6 +18,7 @@ # You can download the latest version of this script from: # https://github.com/MiSTer-devel/Scripts_MiSTer +# Version 1.2.3 - 2019-04-04 - Refined the check for standard root password. # Version 1.2.2 - 2019-04-03 - Updated openssl deb package URL. # Version 1.2.1 - 2019-02-06 - Refined the check for standard root password. # Version 1.2 - 2019-02-06 - Added security fix for Samba minimum allowed protocol. @@ -49,7 +50,7 @@ if (( $EUID != 0 )); then exit 3 fi -if cat /etc/shadow | grep -o "^root:[^:]*" | md5sum | grep -q "\(^9104842aa3318a956e51a081d052d2ee \)\|\(^18de777543175ec29c71ebf177590199 \)" +if cat /etc/shadow | grep -o "^root:[^:]*" | md5sum | grep -q "\(^9104842aa3318a956e51a081d052d2ee \)\|\(^18de777543175ec29c71ebf177590199 \)\|\(^b136a9bff6f6f09feb2f30e12be37e22 \)" then echo "root password is the original one from" echo "the SD-Installer; it should be changed."