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