Skip to content
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

Add config option to auto-start session with PAM #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smanilov
Copy link

[This PR continues #107. All changes are now in a single commit, for easier review and merge.]

This allows the user to choose whether to login automatically once PAM succeeds for the selected user.

On one hand, automatic login makes using fingerprint login more pleasant -- the user does not need to also press the "Log In" button, once the fingerprint is recognized.

On the other hand, using different PAM methods, autologin might be undesirable, as scrolling through the list of users might login a selected user when it is undesired.

For this reason, having this functionality as a user-configurable setting makes sense.

This allows the user to choose whether to login automatically once PAM
succeeds for the selected user.

On one hand, automatic login makes using fingerprint login more pleasant
-- the user does not need to also press the "Log In" button, once the
fingerprint is recognized.

On the other hand, using different PAM methods, autologin might be
undesirable, as scrolling through the list of users might login a
selected user when it is undesired.

For this reason, having this functionality as a user-configurable
setting makes sense.
@qwertychouskie
Copy link

Is it possible to split this into two settings, one for fingerprint logins and one for all other types of logins? Then set the default for normal logins to false and the default for fingerprint logins to true.

@smanilov
Copy link
Author

smanilov commented Jul 11, 2023

Perhaps it could be possible, but one needs to look into whether the PAM API allows any disambiguation between fingerprint login and other logins.

At the level of this change, this information is not directly available.

What other types of logins do you have in mind?

@ddulic
Copy link

ddulic commented Jul 30, 2023

Seeing the same issue with using a Yubikey. Looking forward to this being implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants