Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorratrop <ratrop@gmail.com>2016-07-11 12:20:05 +0300
committerMichael Boelen <michael@cisofy.com>2016-07-11 12:20:05 +0300
commitcd2429688b36d1fd1bb249c4babe8d0cda77cada (patch)
treeb220269f66603d4b7378a64900a69755e21c200e
parenta62a09d9e48bb26649128eb9df24135f8a247827 (diff)
Update tests_boot_services (#201)
Added detection of password for Grub2 in Ubuntu 14.04 LTS. Previous version doesn't detect it.
-rw-r--r--include/tests_boot_services1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tests_boot_services b/include/tests_boot_services
index 3b858d14..534a4a8e 100644
--- a/include/tests_boot_services
+++ b/include/tests_boot_services
@@ -269,6 +269,7 @@
FIND2=`grep 'password --encrypted' ${GRUBCONFFILE} | grep -v '^#'`
FIND3=`grep 'set superusers' ${GRUBCONFFILE} | grep -v '^#'`
FIND4=`grep 'password_pbkdf2' ${GRUBCONFFILE} | grep -v '^#'`
+ FIND5=`grep 'grub.pbkdf2' ${GRUBCONFFILE} | grep -v '^#'`
# GRUB1: MD5 or SHA1
if [ ! "${FIND}" = "" -o ! "${FIND2}" = "" ]; then
FOUND=1