mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-21 11:44:55 +00:00
Add fprintd to the pam file
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user