Bug 349668 - kdesu freeze if two-factor authentication pam is set
Summary: kdesu freeze if two-factor authentication pam is set
Status: RESOLVED WORKSFORME
Alias: None
Product: kdesu
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: kdesu bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-27 19:09 UTC by Edward
Modified: 2022-09-02 14:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edward 2015-06-27 19:09:36 UTC
If pam is set to ask two passwords, kdesu get freezed after the first correct one.

In order to reproduce my example is:
Add as first line in /etc/pam.d/system-auth:
auth requisite pam_oath.so usersfile=/etc/oath.users window=10 digits=6

It's just using a PAM module that let you use a one time password.
As you see it's 'requisite' but not 'sufficient'. So you will go on if the one time password is correct, asking your root password.
In kdesu instead of going to root password, it freezes: you can not input anymore, it's blocked.

Reproducible: Always
Comment 1 Chris 2016-07-21 00:42:46 UTC
I have the same issue, also with the same configuration line.  If I had the time, I'd try to fix this, but right now all I can do is confirm the problem.  It appears to time out, given a couple minutes, to return a 'permission denied'.

In case someone has doubts about it, ordinary sudo in my terminal works, as does my ssh configuration.
Comment 2 Andrew Crouthamel 2018-11-01 13:53:00 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-16 11:34:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-12-01 03:49:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!