summaryrefslogtreecommitdiffstats
path: root/etc/pam.d/login
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:54:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:54:37 +0000
commit97c26c1924b076ef23ebe4381558e8aa025712b2 (patch)
tree109724175f07436696f51b14b5abbd3f4d704d6d /etc/pam.d/login
parentInitial commit. (diff)
downloadshadow-upstream/1%4.13+dfsg1.tar.xz
shadow-upstream/1%4.13+dfsg1.zip
Adding upstream version 1:4.13+dfsg1.upstream/1%4.13+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--etc/pam.d/login11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/pam.d/login b/etc/pam.d/login
new file mode 100644
index 0000000..c1649b3
--- /dev/null
+++ b/etc/pam.d/login
@@ -0,0 +1,11 @@
+#%PAM-1.0
+auth required pam_securetty.so
+auth include system-auth
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
+session include system-auth
+session required pam_loginuid.so
+session optional pam_console.so
+session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open