PAM: smartcard owner isn't associated to user by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sssd |
Fix Released
|
Unknown
|
|||
gdm3 (Ubuntu) |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Focal |
In Progress
|
Medium
|
Marco Trevisan (Treviño) | ||
Hirsute |
Won't Fix
|
Medium
|
Marco Trevisan (Treviño) | ||
sssd (Ubuntu) |
Fix Released
|
Medium
|
Sergio Durigan Junior | ||
Focal |
In Progress
|
Medium
|
Marco Trevisan (Treviño) | ||
Hirsute |
Won't Fix
|
Medium
|
Sergio Durigan Junior |
Bug Description
[ Impact ]
Smartcard user is not selected automatically when inserting a smartcard
[ Test case ]
Insert a smartcard that has an user associated to it:
-> gdm is expected to select the user associated to it and start the authentication
requesting the card PIN, without having to explicitly write the username.
[ Regression potential ]
PAM configuration for smartcard changed the order [1] we check the services, so:
- if a /var/run/nologin the user will be denied for accessing the system only
after that the PIN has been inserted.
- root may be an allowed user, if associated to a smartcard (even though we trust SSSD
PAM module and configuration explicitly disallows it).
[1] https:/
---
There's a SSSD side of this fix (for the carts with multiple certificates) that is part of 2.4.1 and should be handled by https:/
(+ commit https:/
GDM should instead handle empty users properly both in the PAM config and sending the info back to gnome-shell.
affects: | gdm (Ubuntu) → gdm3 (Ubuntu) |
Changed in gdm3 (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in sssd (Ubuntu): | |
assignee: | nobody → Sergio Durigan Junior (sergiodj) |
status: | In Progress → Triaged |
Changed in gdm3 (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in sssd: | |
status: | Unknown → Fix Released |
description: | updated |
Changed in sssd (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in gdm3 (Ubuntu Focal): | |
status: | New → In Progress |
Changed in sssd (Ubuntu Focal): | |
status: | New → In Progress |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
importance: | Undecided → Medium |
Changed in gdm3 (Ubuntu Focal): | |
importance: | Undecided → Medium |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Just as a reminder, I create a PPA with the proposed fix here:
https:/ /launchpad. net/~sergiodj/ +archive/ ubuntu/ sssd-bug1917362 /+packages
Let me know when you can test it, and how the testing goes. Thanks!