Add fprintd to the pam file

This commit is contained in:
Jaap Aarts
2024-05-26 11:39:18 +02:00
parent 6bf9b928f2
commit cc15ab35d0
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
#%PAM-1.0 #%PAM-1.0
auth sufficient pam_unix-so try_first_pass likeauth nullok # empty-password will not pass this, but will not fail causing the next line to get executed
-auth sufficient pam_fprintd.so # We do not want to get errors when pam_fprintd.so is not present
auth include login auth include login
-auth optional pam_gnome_keyring.so -auth optional pam_gnome_keyring.so
-auth optional pam_kwallet5.so -auth optional pam_kwallet5.so

View File

@@ -602,8 +602,8 @@ pub fn main() !void {
asyncPamHandle = null; asyncPamHandle = null;
try std.posix.tcsetattr(std.posix.STDIN_FILENO, .FLUSH, tb_termios); try std.posix.tcsetattr(std.posix.STDIN_FILENO, .FLUSH, tb_termios);
termbox.tb_clear(); _ = termbox.tb_clear();
termbox.tb_present(); _ = termbox.tb_present();
std.time.sleep(1000000000); std.time.sleep(1000000000);
} }