-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cosmic-greeter: Unify patches for PAM refining
Signed-off-by: Ikey Doherty <[email protected]>
- Loading branch information
Showing
6 changed files
with
58 additions
and
31 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
c/cosmic-greeter/pkg/0001-debian-Port-sample-service-pam-to-Serpent-OS.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
From 0c4153e7f38b18fd0bac697f65a9e2cd06bc528f Mon Sep 17 00:00:00 2001 | ||
From: Ikey Doherty <[email protected]> | ||
Date: Tue, 10 Sep 2024 23:49:21 +0000 | ||
Subject: [PATCH] debian: Port sample service/pam to Serpent OS | ||
|
||
Signed-off-by: Ikey Doherty <[email protected]> | ||
--- | ||
debian/cosmic-greeter.pam | 11 ++++++----- | ||
debian/cosmic-greeter.service | 5 ++--- | ||
2 files changed, 8 insertions(+), 8 deletions(-) | ||
|
||
diff --git a/debian/cosmic-greeter.pam b/debian/cosmic-greeter.pam | ||
index 2a15d02..197fbde 100644 | ||
--- a/debian/cosmic-greeter.pam | ||
+++ b/debian/cosmic-greeter.pam | ||
@@ -1,9 +1,10 @@ | ||
#%PAM-1.0 | ||
auth requisite pam_nologin.so | ||
auth required pam_succeed_if.so user != root quiet_success | ||
-@include common-auth | ||
+auth include system-local-login | ||
+ | ||
auth optional pam_gnome_keyring.so | ||
-@include common-account | ||
+account include system-local-login | ||
# SELinux needs to be the first session rule. This ensures that any | ||
# lingering context has been cleared. Without this it is possible | ||
# that a module could execute code in the wrong domain. | ||
@@ -19,7 +20,7 @@ session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_ | ||
session optional pam_keyinit.so force revoke | ||
session required pam_limits.so | ||
session required pam_env.so readenv=1 | ||
-session required pam_env.so readenv=1 user_readenv=1 envfile=/etc/default/locale | ||
-@include common-session | ||
+session include system-local-login | ||
session optional pam_gnome_keyring.so auto_start | ||
-@include common-password | ||
+password include system-local-login | ||
+ | ||
diff --git a/debian/cosmic-greeter.service b/debian/cosmic-greeter.service | ||
index 278e591..70dcad3 100644 | ||
--- a/debian/cosmic-greeter.service | ||
+++ b/debian/cosmic-greeter.service | ||
@@ -17,6 +17,5 @@ RestartSec=1 | ||
StartLimitBurst=5 | ||
StartLimitInterval=30 | ||
|
||
-# Managed by debconf | ||
-#[Install] | ||
-#Alias=display-manager.service | ||
+[Install] | ||
+Alias=display-manager.service | ||
-- | ||
2.46.0 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters