-
Notifications
You must be signed in to change notification settings - Fork 20
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
pam_usb causes infinite loop in tty #115
Comments
Could you provide your authentication log for such a failed login? On ubuntu that would be Also, how have you installed? From source, AUR, something else? Using current version I assume? |
I compiled it about 2 weeks ago, but I can't find any "releases". I don't know what the commit was. I will try to install the latest commit and try again. |
2 weeks ago should have been the latest commit i guess. the log is more important :) |
Hmmm, actually I can reproduce that on my main machine. But the log is showing a successful authentication... Interesting... I can even briefly see the MOTD and a prompt, but session is closed again. If I disable pamusb this doesnt happen, but its really weird since the whole PAM stuff is done at that time... |
The log says this, let me know if I should hide something in the logs.
I ran |
Sorry for the silence, got some problems keeping up with my life 😅 (Workaround tip -->) What I can say so far is that it works if you disable deny_remote. (<-- Workaround tip) So it's for sure related to local check, but haven't found the actual source. |
Please give https://www.dropbox.com/s/9hkro5bmhxtk9r6/libpam-usb_0.8.1_issue115_ttylogin_amd64.deb?dl=0 a try This build circumvents the problem by whitelisting tty logins as local. |
How can I install that on Arch? Sorry for the beginner question.
… On Apr 30, 2022, at 9:27 AM, McDope ***@***.***> wrote:
Please give https://www.dropbox.com/s/9hkro5bmhxtk9r6/libpam-usb_0.8.1_issue115_ttylogin_amd64.deb?dl=0 a try
This build circumvents the problem by whitelisting tty logins as local.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Sorry, my bad - forgot that you're on arch. You can built that version from branch |
If you don't say anything indicating otherwise I consider this fixed and will merge it tomorrow. |
Sorry, I’ve been caught up in exams. I’ll try it today and let you know.
On Sat, May 7, 2022 at 7:04 AM McDope ***@***.***> wrote:
If you don't say anything indicating otherwise I consider this fixed and
will merge it tomorrow.
—
Reply to this email directly, view it on GitHub
<#115 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APZTJC5LGLP74D7GK5AS4MDVIZL35ANCNFSM5R4VSNYQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Thanks,
Urjith Mishra
|
The PR fixed my issue. Unless you have anything to add, should I close the issue? |
Don't bother, it will be auto-closed when I merge the fix.
Am Sa., 7. Mai 2022 um 16:47 Uhr schrieb TheScientist101 <
***@***.***>:
… The PR fixed my issue. Unless you have anything to add, should I close it?
—
Reply to this email directly, view it on GitHub
<#115 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZI2U4OZDYIYPIBEQCS7ULVIZ7BTANCNFSM5R4VSNYQ>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
I'll chime in and say that, when using the current release on arch, I had the same problem, and that the |
…149) * #148: Re-format Makefile * #148: Add editorconfig and gitblameignorerevs * #148: Move debug CFLAG to CFLAGS * #148: Use tabs again for Makefile - doh! * #148: Add new commit to ignorelist * #148: [conf.c] Reformat * #148: Update ignore-revs * #148: Update .editorconfig * #148: [device.c] Reformat * #148: [local.c] Reformat * #148: [log.c] Reformat * #148: [pad.c] Reformat * #148: [pam.c] Reformat * #149: Update .git-blame-ignore-revs * #148: [pamusb-check.c] Reformat * #148: [volume.c] Reformat * #148: [xpath.c] Reformat * #148: Update .git-blame-ignore-revs * #148: [pamusb-agent] Reformat * #148: [pamusb-conf] Reformat * #148: Update .git-blame-ignore-revs * #148: if braces * #148: Update .editorconfig * #148: while braces * #148: for braces * [Makefile] Install config as .dist if already configured * #115: [Packaging] [Fedora] Spec formatting * #148: Update ignore file
Thanks for the additional feedback, good to know.
Am Sa., 7. Mai 2022 um 18:14 Uhr schrieb AlexOConnorHub <
***@***.***>:
… I'll chime in and say that, when using the current release on arch, I had
the same problem, and that the issue-115-ttylogin branch resolves the
issue. (Just to say that the event is not isolated to just and that this
solution works!)
—
Reply to this email directly, view it on GitHub
<#115 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZI2U3BIMCXYJSEVHJHZB3VI2JIBANCNFSM5R4VSNYQ>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Hello,
I installed pam_usb and it was working fine with lightdm, but when I tried to login to tty to fix something I found that pam_usb was causing an infinite loop. I could login when I removed the line, but any form of pam_usb was asking me to login again. I also use arch btw, if that might be the problem.
Thanks,
Urjith Mishra
The text was updated successfully, but these errors were encountered: