From owner-freebsd-current Tue Jul 9 6:36:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D8EC37B400 for ; Tue, 9 Jul 2002 06:36:25 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3D7443E09 for ; Tue, 9 Jul 2002 06:36:23 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.5/8.12.5) with ESMTP id g69DaE5C017408; Tue, 9 Jul 2002 17:36:21 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.5/8.12.5/Submit) id g69DaD3E017407; Tue, 9 Jul 2002 17:36:14 +0400 (MSD) (envelope-from ache) Date: Tue, 9 Jul 2002 17:36:12 +0400 From: "Andrey A. Chernov" To: Dag-Erling Smorgrav Cc: current@freebsd.org Subject: Re: PasswordAuthentication not works in sshd Message-ID: <20020709133611.GA17322@nagual.pp.ru> References: <20020702114530.GB837@nagual.pp.ru> <20020709124943.GA15259@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 09, 2002 at 15:16:01 +0200, Dag-Erling Smorgrav wrote: > "Andrey A. Chernov" writes: > > It not helps. Moreover, I found that I am able to do 'ssh localhost' but > > unable to do ssh from any other machine, with exact the same password. > > Try commenting out the pam_opieaccess line in /etc/pam.d/sshd. Yes, it was the reason! Normally OPIE not accepts plain Unix password remotely, and it is right, because of cleartext. But it is wrong for sshd, because no cleartext sended for PasswordAuth. It seems that opieaccess in pam.d/sshd should not fails by default or maybe even not present there. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message