summaryrefslogtreecommitdiff
path: root/nonsystemd/pambase/system-login
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/pambase/system-login')
-rw-r--r--nonsystemd/pambase/system-login21
1 files changed, 21 insertions, 0 deletions
diff --git a/nonsystemd/pambase/system-login b/nonsystemd/pambase/system-login
new file mode 100644
index 000000000..79493ab45
--- /dev/null
+++ b/nonsystemd/pambase/system-login
@@ -0,0 +1,21 @@
+#%PAM-1.0
+
+auth required pam_tally2.so onerr=succeed file=/var/log/tallylog
+auth required pam_shells.so
+auth requisite pam_nologin.so
+auth include system-auth
+
+account required pam_tally2.so
+account required pam_access.so
+account required pam_nologin.so
+account include system-auth
+
+password include system-auth
+
+session optional pam_loginuid.so
+session optional pam_keyinit.so force revoke
+session include system-auth
+session optional pam_motd.so motd=/etc/motd
+session optional pam_mail.so dir=/var/spool/mail standard quiet
+-session optional pam_elogind.so
+session required pam_env.so