xyb3rt / physlock

Lightweight linux console locking tool
GNU General Public License v2.0
303 stars 36 forks source link

Call pam_setcred after successful authentication #83

Closed cruegge closed 4 years ago

cruegge commented 4 years ago

I'm not exactly sure, but I think after authenticating the user, pam_setcred should be called. This is mainly triggered by an issue I'm currently trying to solve (cruegge/pam-gnupg#7), but there is another case in i3lock (i3/i3lock#9), where not calling pam_setcred would not refresh Kerberos tickets.

xyb3rt commented 4 years ago

Good catch. Thank you!