summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-06-15 11:33:13 +0000
committeryar <yar@FreeBSD.org>2007-06-15 11:33:13 +0000
commit720e13085ba01b1d03be74053bc062f340e719e9 (patch)
treeef68d4af2a5ce7d5330452af4a1e3b128aff553b
parent867bb09937d94b0c5d8fb5cb668f9b48c32beb17 (diff)
downloadFreeBSD-src-720e13085ba01b1d03be74053bc062f340e719e9.zip
FreeBSD-src-720e13085ba01b1d03be74053bc062f340e719e9.tar.gz
Locked out and expired accounts shouldn't be accessible via remote
mailbox protocols. Add pam_unix to the `account' function class, too, for imap and pop3 to actually implement this policy.
-rw-r--r--etc/pam.d/imap1
-rw-r--r--etc/pam.d/pop31
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/pam.d/imap b/etc/pam.d/imap
index 6254d14..2d5efd0 100644
--- a/etc/pam.d/imap
+++ b/etc/pam.d/imap
@@ -11,3 +11,4 @@ auth required pam_unix.so no_warn try_first_pass
# account
#account required pam_nologin.so
+account required pam_unix.so
diff --git a/etc/pam.d/pop3 b/etc/pam.d/pop3
index c5e93ce..c59e39b 100644
--- a/etc/pam.d/pop3
+++ b/etc/pam.d/pop3
@@ -11,3 +11,4 @@ auth required pam_unix.so no_warn try_first_pass
# account
#account required pam_nologin.so
+account required pam_unix.so
OpenPOWER on IntegriCloud