Re: sshd "none" method authentication
- From: wc wong <jwc_wong@xxxxxxxxx>
- Date: Fri, 27 Jun 2008 12:06:33 -0700 (PDT)
Darren,
I tried "PermitEmptyPasswords no" and the failure count did not increase. Unfortunately, our server has to use "PermitEmptyPasswords yes" for some user access. Hence we need to find another solution to inform the OS of the success of the pubkey authentication so that the failure count will be reset for a successful pubkey authentication. It would be great if this solution can be implemented in OpenSSH.
Thanks,
John
--- On Thu, 6/26/08, Darren Tucker <dtucker@xxxxxxxxxx> wrote:
From: Darren Tucker <dtucker@xxxxxxxxxx>
Subject: Re: sshd "none" method authentication
To: "wc wong" <jwc_wong@xxxxxxxxx>
Cc: secureshell@xxxxxxxxxxxxxxxxx
Date: Thursday, June 26, 2008, 3:19 PM
On Thu, Jun 26, 2008 at 01:11:46PM -0700, wc wong wrote:
Thanks Darren.
Yes, we are using PAM.
I'll try "PermitEmptyPasswords no" tosee if it can resolve the
failure count issue.
One more problem, I found is that when I useauthentication by
password, though the failure count incremented by onewith the
none-method, the count is reset with the success ofthe password
authentication. This is not the case when I usepublickey authentication,
the count is not reset with the success of thepublickey authentication.
The problem here is that pubkey authentication doesn't
occur through
PAM, and I don't know a good general solution to this.
(There's
no way for an application to say to PAM "this login is
good, even
though PAM didn't say so").
If the module in question also implements the session part
of the
stack, you could try that (add "session required
pam_whatever.so")
and it may work, but it will depend on the PAM module.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7
8FF4 FA69
Good judgement comes with experience. Unfortunately,
the experience
usually comes from bad judgement.
- Follow-Ups:
- Re: sshd "none" method authentication
- From: Darren Tucker
- Re: sshd "none" method authentication
- References:
- Re: sshd "none" method authentication
- From: Darren Tucker
- Re: sshd "none" method authentication
- Prev by Date: Re: sshd "none" method authentication
- Next by Date: Re: sshd "none" method authentication
- Previous by thread: Re: sshd "none" method authentication
- Next by thread: Re: sshd "none" method authentication
- Index(es):
Relevant Pages
|