From bb151ea158baea3775923509e92d8b97e119cbe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 19 Jun 2002 20:00:43 +0000 Subject: [PATCH] Enable OPIE for sshd and telnetd. I thought I'd done this a long time ago... Sponsored by: DARPA, NAI Labs --- etc/pam.d/sshd | 2 ++ etc/pam.d/telnetd | 2 ++ 2 files changed, 4 insertions(+) diff --git a/etc/pam.d/sshd b/etc/pam.d/sshd index 873ebc4b019..1c0ddfeb5e6 100644 --- a/etc/pam.d/sshd +++ b/etc/pam.d/sshd @@ -6,6 +6,8 @@ # auth auth required pam_nologin.so no_warn +auth sufficient pam_opie.so no_warn no_fake_prompts +auth required pam_opieaccess.so no_warn auth required pam_unix.so no_warn try_first_pass # account diff --git a/etc/pam.d/telnetd b/etc/pam.d/telnetd index dd9d5f456cd..25fa6cfb8f7 100644 --- a/etc/pam.d/telnetd +++ b/etc/pam.d/telnetd @@ -6,6 +6,8 @@ # auth auth required pam_nologin.so no_warn +auth sufficient pam_opie.so no_warn no_fake_prompts +auth required pam_opieaccess.so no_warn auth required pam_unix.so no_warn try_first_pass # account