summaryrefslogtreecommitdiffstats
path: root/etc/pam.d/login
diff options
context:
space:
mode:
Diffstat (limited to 'etc/pam.d/login')
-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