aboutsummaryrefslogtreecommitdiff
path: root/etc/pam.d/login
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-01-21 18:51:24 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-01-21 18:51:24 +0000
commitae739ec469bf3a64c0b7a8ffa7901bf9151bf2bc (patch)
treee4b5d29c748772dfacf325ac9643cfc3804fe86c /etc/pam.d/login
parent03adba96a01ce79e95bcd6a03d205b924a0aa0bd (diff)
downloadsrc-ae739ec469bf3a64c0b7a8ffa7901bf9151bf2bc.tar.gz
src-ae739ec469bf3a64c0b7a8ffa7901bf9151bf2bc.zip
Enable OPIE by default, using the no_fake_prompts option to hide it from
users who don't wish to use it. If the admin is worried about leaking information about which users exist and which have OPIE enabled, the no_fake_prompts option can simply be removed. Also insert the appropriate pam_opieaccess lines after pam_opie to break the chain in case the user is logging in from an untrusted host, or has a .opiealways file. The entire opieaccess / opiealways concept is slightly unpammish, but admins familiar with OPIE will expect it to work. Reviewed by: ache, markm Sponsored by: DARPA, NAI Labs
Notes
Notes: svn path=/head/; revision=89619
Diffstat (limited to 'etc/pam.d/login')
-rw-r--r--etc/pam.d/login4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/pam.d/login b/etc/pam.d/login
index ab7046bc586f..0e2cfa7ab742 100644
--- a/etc/pam.d/login
+++ b/etc/pam.d/login
@@ -6,7 +6,8 @@
# auth
auth required pam_nologin.so no_warn
-#auth sufficient pam_opie.so no_warn
+auth sufficient pam_opie.so no_warn no_fake_prompts
+auth requisite pam_opieaccess.so no_warn
#auth sufficient pam_kerberosIV.so no_warn try_first_pass
#auth sufficient pam_krb5.so no_warn try_first_pass
#auth required pam_ssh.so no_warn try_first_pass
@@ -24,7 +25,6 @@ account required pam_unix.so
session required pam_unix.so
# password
-#password sufficient pam_opie.so no_warn
#password sufficient pam_kerberosIV.so no_warn try_first_pass
#password sufficient pam_krb5.so no_warn try_first_pass
password required pam_unix.so no_warn try_first_pass