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

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