You are not logged in.

#1 2021-07-26 12:58:32

TheCoon
Member
Registered: 2016-05-10
Posts: 42

faillock does not count failed authentication using physlock

I'd like to move from swaylock to physlock. I have a script which watches the number of failed authentication attempts using /usr/bin/faillock.

While locked with physlock, entering a wrong password denies access (as it should) but the fialure isn't logged by faillock.

I am trying to understand why. I realize pam_faillock is a part of PAM - does this mean physlock doesn't perform authentication via PAM in any way?

Last edited by TheCoon (2021-07-26 13:36:22)

Offline

#2 2021-07-26 14:07:25

loqs
Member
Registered: 2014-03-06
Posts: 19,008

Re: faillock does not count failed authentication using physlock

It uses https://github.com/archlinux/svntogit-c … yslock.pam easiest way to use faillock would be to switch to upstream's config https://github.com/muennich/physlock/bl … yslock.pam

Offline

#3 2021-07-27 05:50:58

TheCoon
Member
Registered: 2016-05-10
Posts: 42

Re: faillock does not count failed authentication using physlock

loqs wrote:

It uses https://github.com/archlinux/svntogit-c … yslock.pam easiest way to use faillock would be to switch to upstream's config https://github.com/muennich/physlock/bl … yslock.pam

Thank you! That did it.

Offline

Board footer

Powered by FluxBB