aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-02-19 17:12:30 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-02-19 17:12:30 +0100
commit6b8ddb5492583fb5aa0998894d195954def1345b (patch)
treeb2966b9348b232a1131d9fc7a63df2d3bda6a401
parentAdd support for FreeBSD's pam_login_access module (like pam_access). (diff)
downloadpambase-6b8ddb5492583fb5aa0998894d195954def1345b.tar.gz
pambase-6b8ddb5492583fb5aa0998894d195954def1345b.tar.bz2
pambase-6b8ddb5492583fb5aa0998894d195954def1345b.zip
Add pam_motd and pam_mail to system-login.
It would be ignored on FreeBSD, and even for graphical logins.
-rw-r--r--system-login.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/system-login.in b/system-login.in
index d4e750d..45aa0bb 100644
--- a/system-login.in
+++ b/system-login.in
@@ -29,4 +29,8 @@ session include system-auth
#if HAVE_SELINUX
session required pam_selinux.so multiple open
#endif
-
+// These are optional, so there is no reason to actually put them under
+// additional conditionals to get them ignored on FreeBSD.
+session optional pam_motd.so motd=/etc/motd
+session optional pam_mail.so
+