mirror of https://github.com/CISOfy/lynis.git
Added YUM details
This commit is contained in:
parent
c68b70ff2e
commit
756c09cb4a
|
@ -629,6 +629,9 @@
|
||||||
# Test : PKGS-7386
|
# Test : PKGS-7386
|
||||||
# Description : Search for YUM security package
|
# Description : Search for YUM security package
|
||||||
# Notes : This test does not apply to CentOS and clones, as --security is not available
|
# Notes : This test does not apply to CentOS and clones, as --security is not available
|
||||||
|
# : RHEL 7: plugin default installed
|
||||||
|
# : RHEL 6: yum-security-plugin (plugin)
|
||||||
|
# : RHEL 5: yum-security (plugin)
|
||||||
if [ -x /usr/bin/yum ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
if [ -x /usr/bin/yum ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||||
Register --test-no PKGS-7386 --preqs-met ${PREQS_MET} --os Linux --weight L --network NO --description "Check for YUM security package"
|
Register --test-no PKGS-7386 --preqs-met ${PREQS_MET} --os Linux --weight L --network NO --description "Check for YUM security package"
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue