mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-28 16:24:13 +02:00
Make BOOT-5260 Linux only
Linux is the only OS with systemd so no need to check for systemd single user mode on other operatings systems.
This commit is contained in:
parent
1f8b5fafde
commit
9c5451d29d
@ -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