mirror of https://github.com/CISOfy/lynis.git
Update tests_boot_services (#201)
Added detection of password for Grub2 in Ubuntu 14.04 LTS. Previous version doesn't detect it.
This commit is contained in:
parent
a62a09d9e4
commit
cd2429688b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue