aboutsummaryrefslogtreecommitdiff
path: root/pam
diff options
context:
space:
mode:
Diffstat (limited to 'pam')
-rw-r--r--pam/meson.build9
-rw-r--r--pam/start-stop-daemon6
-rw-r--r--pam/supervise-daemon6
3 files changed, 21 insertions, 0 deletions
diff --git a/pam/meson.build b/pam/meson.build
new file mode 100644
index 00000000..81c019ea
--- /dev/null
+++ b/pam/meson.build
@@ -0,0 +1,9 @@
+pam_dir = get_option('sysconfdir') / 'pam.d'
+
+pam_files = [
+ 'start-stop-daemon',
+ 'supervise-daemon',
+ ]
+
+install_data(pam_files,
+ install_dir : pam_dir)
diff --git a/pam/start-stop-daemon b/pam/start-stop-daemon
new file mode 100644
index 00000000..a1bada22
--- /dev/null
+++ b/pam/start-stop-daemon
@@ -0,0 +1,6 @@
+#%PAM-1.0
+
+auth required pam_permit.so
+account required pam_permit.so
+password required pam_deny.so
+session optional pam_limits.so
diff --git a/pam/supervise-daemon b/pam/supervise-daemon
new file mode 100644
index 00000000..a1bada22
--- /dev/null
+++ b/pam/supervise-daemon
@@ -0,0 +1,6 @@
+#%PAM-1.0
+
+auth required pam_permit.so
+account required pam_permit.so
+password required pam_deny.so
+session optional pam_limits.so