-
Notifications
You must be signed in to change notification settings - Fork 48
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
Autologin when pam allows #28
Comments
So basically, start with a password box & if pam gives autologin access then switch to a "Log In" button, or just automatically log in? I'd be down to support this but I can't give an estimate on when I'd be able to get to it & it'll probably require a bit of code restructuring. I know the lightdm library provides some |
You can test it with pamusb and any flash drive (i might have mislead you in calling my old flashstick a 'key'). |
I am not sure how correct my request is, but for example standard lightdm greeter allows you to login without entering your password when some pam module gives you sufficient rights to do so.
So when you have some pam module with 'sufficient' qualifier (or how it is called) and that module gives you permissions without interaction somehow, you can have such button or just automatically log in.
In my case it's pam_usb - on Ubuntu when i plug my USB key (with pamusb.conf configured for my user ofc) in it shows just
Log in >
button in place of password field.The text was updated successfully, but these errors were encountered: