Alexander Skwar wrote:
> Darren Tucker wrote:

[...]
>> http://www.zip.com.au/~dtucker/patches/#pamtest
>>
>> The "-a" option skips the pam_authenticate call which simulates what
>> happens during a public-key authentication.

>
> Hm. No difference between non-working and working user:
> ./pam-test-harness -a -u askwar

[...]
> Both times, I get a "Authentication failed" message. Or am I using
> the tool wrong?


You might want to use "-s sshd" to get the PAM sshd service. By default
it uses "login".

--
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.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev