summaryrefslogtreecommitdiff
path: root/source/a/shadow/pam.d/postlogin
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/shadow/pam.d/postlogin')
-rw-r--r--source/a/shadow/pam.d/postlogin4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/a/shadow/pam.d/postlogin b/source/a/shadow/pam.d/postlogin
new file mode 100644
index 00000000..9777b897
--- /dev/null
+++ b/source/a/shadow/pam.d/postlogin
@@ -0,0 +1,4 @@
+#%PAM-1.0
+session [success=1 default=ignore] pam_succeed_if.so service !~ gdm* service !~ su* quiet
+session [default=1] pam_lastlog.so nowtmp showfailed
+session optional pam_lastlog.so silent noupdate showfailed