From owner-freebsd-questions@FreeBSD.ORG Fri May 1 22:25:21 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC3EC910 for ; Fri, 1 May 2015 22:25:21 +0000 (UTC) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44C0D1543 for ; Fri, 1 May 2015 22:25:21 +0000 (UTC) Received: by layy10 with SMTP id y10so72065426lay.0 for ; Fri, 01 May 2015 15:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=rZM/jVngS7Aml5zTSw/yTdp3/b2Q3Cj+rxcvzJh3zjE=; b=kPhgSVML+Ayvym9BGYDwKz0bBZ/YZQuKnn6UtJGmX6UONyYLoJB0EHVdCKtBuWCtxq YJsG9WgROnnSIYCtf1vPbQMojW+tIzF4+D+GMAm5G3DiItBoBuCKicEPuJ5gdqBllvMj I4/A1qmO7iMA97foPspE0Md/X//Qc+KYVn0J1Y8tK7SfBRBmjiWuN8vl5oWCeH1scFfQ GZ4oz8veYwIugyMHQoX8DVmTs0xrVrUk5HecXc2/XF2hfX5dLm26LrXbtp01tqlPEo3N 4Q7G/7ZjeU5E3yLOVxF/TvT973O3YXGZxPZDhG1mbxKC0XbMe+WfGBGm2dqp14mpqYWn I51Q== MIME-Version: 1.0 X-Received: by 10.112.199.1 with SMTP id jg1mr10040042lbc.59.1430519119167; Fri, 01 May 2015 15:25:19 -0700 (PDT) Received: by 10.25.42.146 with HTTP; Fri, 1 May 2015 15:25:19 -0700 (PDT) In-Reply-To: References: Date: Fri, 1 May 2015 15:25:19 -0700 Message-ID: Subject: Re: Using pam_radius in /etc/pam.d/sshd From: Chris Stankevitz To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2015 22:25:21 -0000 On Tue, Apr 28, 2015 at 12:05 PM, Chris Stankevitz wrote: > After I supply an incorrect radius password three time, I am not > afforded an opportunity to supply my pam_unix password. Why am I not > afforded this opportunity? (pam.d/sshd below) Update: problem was the "try_first_pass" option to pam_unix. This caused pam_unix to attempt to use pam_radius's password. Figured out what was happening by enabling the debug log. Chris