mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-31 01:34:23 +02:00
Merge pull request #870 from bginsbach/boot-5260-linux
Make BOOT-5260 Linux only
This commit is contained in:
commit
148e5b5c14
@ -849,7 +849,7 @@
|
|||||||
#
|
#
|
||||||
# Test : BOOT-5260
|
# Test : BOOT-5260
|
||||||
# Description : Check single user mode for systemd
|
# Description : Check single user mode for systemd
|
||||||
Register --test-no BOOT-5260 --weight L --network NO --category security --description "Check single user mode for systemd"
|
Register --test-no BOOT-5260 --os Linux --weight L --network NO --category security --description "Check single user mode for systemd"
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
LogText "Test: Searching /usr/lib/systemd/system/rescue.service"
|
LogText "Test: Searching /usr/lib/systemd/system/rescue.service"
|
||||||
if [ -f ${ROOTDIR}usr/lib/systemd/system/rescue.service ]; then
|
if [ -f ${ROOTDIR}usr/lib/systemd/system/rescue.service ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user