gdm/0001-pam-redhat-Remove-pam_console-from-service-files.patch
Iker Pedrosa 7bd1e8d41d pam-redhat: Remove pam_console from service files
pam_console is being removed as it was replaced by ConsoleKit. The
changes in this commit just remove pam_console from the service files.

If you are curious about the removal check the Fedora System-Wide Change
proposal linked below.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1822228
Relates: https://fedoraproject.org/wiki/Changes/RemovePamConsole
Relates: https://bugzilla.redhat.com/show_bug.cgi?id=2166692

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2023-02-09 11:56:44 +01:00

75 lines
3.0 KiB
Diff

From cb060ca0b0feaf9f2e4679482d64107f11b411d3 Mon Sep 17 00:00:00 2001
From: Iker Pedrosa <ipedrosa@redhat.com>
Date: Mon, 6 Feb 2023 12:52:27 +0100
Subject: [PATCH] pam-redhat: Remove pam_console from service files
pam_console is being removed as it was replaced by ConsoleKit. The
changes in this commit just remove pam_console from the service files.
If you are curious about the removal check the Fedora System-Wide Change
proposal linked below.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1822228
Relates: https://fedoraproject.org/wiki/Changes/RemovePamConsole
Relates: https://bugzilla.redhat.com/show_bug.cgi?id=2166692
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
---
data/pam-redhat/gdm-autologin.pam | 1 -
data/pam-redhat/gdm-fingerprint.pam | 1 -
data/pam-redhat/gdm-password.pam | 1 -
data/pam-redhat/gdm-smartcard.pam | 1 -
4 files changed, 4 deletions(-)
diff --git a/data/pam-redhat/gdm-autologin.pam b/data/pam-redhat/gdm-autologin.pam
index c31ff27a8..97a4a137a 100644
--- a/data/pam-redhat/gdm-autologin.pam
+++ b/data/pam-redhat/gdm-autologin.pam
@@ -7,7 +7,6 @@ account include system-auth
password include system-auth
session required pam_selinux.so close
session required pam_loginuid.so
-session optional pam_console.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
diff --git a/data/pam-redhat/gdm-fingerprint.pam b/data/pam-redhat/gdm-fingerprint.pam
index 1483cdfff..628568ec3 100644
--- a/data/pam-redhat/gdm-fingerprint.pam
+++ b/data/pam-redhat/gdm-fingerprint.pam
@@ -8,7 +8,6 @@ password include fingerprint-auth
session required pam_selinux.so close
session required pam_loginuid.so
-session optional pam_console.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
diff --git a/data/pam-redhat/gdm-password.pam b/data/pam-redhat/gdm-password.pam
index 21c04ec1b..c75da0077 100644
--- a/data/pam-redhat/gdm-password.pam
+++ b/data/pam-redhat/gdm-password.pam
@@ -11,7 +11,6 @@ password substack password-auth
session required pam_selinux.so close
session required pam_loginuid.so
-session optional pam_console.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
diff --git a/data/pam-redhat/gdm-smartcard.pam b/data/pam-redhat/gdm-smartcard.pam
index 5024e52b6..3264a71cf 100644
--- a/data/pam-redhat/gdm-smartcard.pam
+++ b/data/pam-redhat/gdm-smartcard.pam
@@ -8,7 +8,6 @@ password include smartcard-auth
session required pam_selinux.so close
session required pam_loginuid.so
-session optional pam_console.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
--
2.39.1