New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i3lock needs its own /etc/pam.d/i3lock - fix or note this in readme #260
Comments
Thing is, on Debian (for example) you do not need to create an own /etc/pam.d/i3lock file. I don't know where the difference between the configuration on Debian and your distro is. Can anyone enlighten me on this one? |
[Original comment by Семён Марьясин <marsoft@…>] What is in Debian's /etc/pam.d/other ? |
In Debian, it is used as a fallback (like the name suggests):
I’m not sure what’s the upstream way of doing this. |
[Original comment by Семён Марьясин <marsoft@…>] Yes. So in Debian default is to use common-auth etc, and in Gentoo default is to deny anything. As I said before, alock (http://code.google.com/p/alock/) in PAM mode explicitly uses /etc/pam.d/login, which works fine on Gentoo (and, I think, on most other distros too). Although its behaviour is less flexible (one cannot use custom authentication scheme with it).. So I think best way is to supply pam module /etc/pam.d/i3lock with i3lock. |
In revision fc6b72e, I added i3lock.pam which will be installed as /etc/pam.d/i3lock and just contains @…. Can you please check if that works for you correctly? |
Due to no response, I’ll just close this one as fixed. Reopen if you still have problems. |
[Originally reported by Семён Марьясин <marsoft@…>]
(I have just compiled i3lock. It refuses to accept my password, as if I entered it incorrectly.
My /etc/pam.d/other:
Now I made /etc/pam.d/i3lock with following contents:
(as in /etc/pam.d/xscreensaver). And it works fine.
BTW, alock rev94 uses /etc/pam.d/login, not /etc/pam.d/alock.
So please either make i3lock not to require /etc/pam.d/i3lock or mention this requirement in README.
The text was updated successfully, but these errors were encountered: