Blame SOURCES/scap-security-guide-0.1.58-disable_ctrlaltdel_reboot_fix_test_scenario-PR_7444.patch

889f2b
From 9bb002a6870f255a8e4934fab0d1b44893f818bc Mon Sep 17 00:00:00 2001
889f2b
From: Gabriel Becker <ggasparb@redhat.com>
889f2b
Date: Mon, 23 Aug 2021 12:29:13 +0200
889f2b
Subject: [PATCH] disable_ctrlaltdel_reboot: disable service before masking
889f2b
 during test scenario setup.
889f2b
889f2b
---
889f2b
 .../disable_ctrlaltdel_reboot/tests/masked.pass.sh               | 1 +
889f2b
 1 file changed, 1 insertion(+)
889f2b
889f2b
diff --git a/linux_os/guide/system/accounts/accounts-physical/disable_ctrlaltdel_reboot/tests/masked.pass.sh b/linux_os/guide/system/accounts/accounts-physical/disable_ctrlaltdel_reboot/tests/masked.pass.sh
889f2b
index cc333ea2e9e..b56b59b2fd2 100644
889f2b
--- a/linux_os/guide/system/accounts/accounts-physical/disable_ctrlaltdel_reboot/tests/masked.pass.sh
889f2b
+++ b/linux_os/guide/system/accounts/accounts-physical/disable_ctrlaltdel_reboot/tests/masked.pass.sh
889f2b
@@ -1,4 +1,5 @@
889f2b
 #!/bin/bash
889f2b
 # platform = Red Hat Enterprise Linux 7,Red Hat Enterprise Linux 8,multi_platform_fedora
889f2b
 
889f2b
+systemctl disable --now ctrl-alt-del.target
889f2b
 systemctl mask --now ctrl-alt-del.target