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

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