xyb3rt / physlock

Lightweight linux console locking tool
GNU General Public License v2.0
303 stars 36 forks source link

wrong password loop #86

Closed x70b1 closed 4 years ago

x70b1 commented 4 years ago

I built physlock from the latest source. It seems to be broken. The installation of physlock package on Arch is still working fine.

You have no chance to enter a password. Instead it shows in a loop the message that the password was wrong. The only way to fix it is to restart the device.

xyb3rt commented 4 years ago

This is possibly a duplicate of issue #72 and #80. Did you see those issues?

x70b1 commented 4 years ago

@muennich Thanks a lot! Thats what I can see.

The answer in the other issues seems to be that PAM is incorrectly configured.

But I use the exact same PAM config which I didn't change between the version from Arch physlock and physlock-git.

xyb3rt commented 4 years ago

How did you built it? Can you checkout and build tag v13 and see if it works?

x70b1 commented 4 years ago

Okay, I found my issue. The package physlock-git does not create a physlock file in /etc/pam.d/ while the official package physlock creates one.

For me the issue is fixed. Thanks for you help! Or is here something to improve and we still need this issue?

xyb3rt commented 4 years ago

I have described the issue in a comment on the physlock-git AUR page, so that the pkg may get fixed.