summaryrefslogtreecommitdiffstats
path: root/debian/extra/pam-configs
diff options
context:
space:
mode:
Diffstat (limited to 'debian/extra/pam-configs')
-rw-r--r--debian/extra/pam-configs/systemd7
-rw-r--r--debian/extra/pam-configs/systemd-homed15
2 files changed, 22 insertions, 0 deletions
diff --git a/debian/extra/pam-configs/systemd b/debian/extra/pam-configs/systemd
new file mode 100644
index 0000000..5b56996
--- /dev/null
+++ b/debian/extra/pam-configs/systemd
@@ -0,0 +1,7 @@
+Name: Register user sessions in the systemd control group hierarchy
+Default: yes
+Priority: 0
+Session-Interactive-Only: yes
+Session-Type: Additional
+Session:
+ optional pam_systemd.so
diff --git a/debian/extra/pam-configs/systemd-homed b/debian/extra/pam-configs/systemd-homed
new file mode 100644
index 0000000..0613efc
--- /dev/null
+++ b/debian/extra/pam-configs/systemd-homed
@@ -0,0 +1,15 @@
+Name: Enable user management by systemd-homed
+Default: yes
+Priority: 257
+Auth-Type: Primary
+Auth:
+ [success=end default=ignore] pam_systemd_home.so
+Account-Type: Primary
+Account:
+ [success=end default=ignore] pam_systemd_home.so
+Session-Type: Additional
+Session:
+ optional pam_systemd_home.so
+Password-Type: Primary
+Password:
+ [success=end default=ignore] pam_systemd_home.so