From b1710195c101848d03f360b861b35acc7384460b Mon Sep 17 00:00:00 2001 From: Ste74 Date: Sun, 8 Jul 2018 19:10:54 +0200 Subject: [PATCH] Gnome: add the ability to use the finger id if HW have it Signed-off-by: Ste74 --- manjaro/gnome/Packages-Desktop | 1 + manjaro/gnome/desktop-overlay/etc/pam.d/polkit-1 | 10 ++++++++++ manjaro/gnome/desktop-overlay/etc/pam.d/sudo | 9 +++++++++ 3 files changed, 20 insertions(+) create mode 100644 manjaro/gnome/desktop-overlay/etc/pam.d/polkit-1 create mode 100644 manjaro/gnome/desktop-overlay/etc/pam.d/sudo diff --git a/manjaro/gnome/Packages-Desktop b/manjaro/gnome/Packages-Desktop index 032a8a3..8bc735d 100644 --- a/manjaro/gnome/Packages-Desktop +++ b/manjaro/gnome/Packages-Desktop @@ -20,6 +20,7 @@ gnome-desktop gnome-disk-utility gnome-font-viewer gnome-keyring +fprintd #need for finger id reader >extra gnome-online-accounts >extra gnome-contacts gnome-screenshot diff --git a/manjaro/gnome/desktop-overlay/etc/pam.d/polkit-1 b/manjaro/gnome/desktop-overlay/etc/pam.d/polkit-1 new file mode 100644 index 0000000..8807a85 --- /dev/null +++ b/manjaro/gnome/desktop-overlay/etc/pam.d/polkit-1 @@ -0,0 +1,10 @@ +#%PAM-1.0 + +auth required pam_env.so +auth sufficient pam_fprintd.so +auth sufficient pam_unix.so try_first_pass likeauth nullok +auth required pam_deny.so +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/manjaro/gnome/desktop-overlay/etc/pam.d/sudo b/manjaro/gnome/desktop-overlay/etc/pam.d/sudo new file mode 100644 index 0000000..52d351a --- /dev/null +++ b/manjaro/gnome/desktop-overlay/etc/pam.d/sudo @@ -0,0 +1,9 @@ +#%PAM-1.0 + +auth required pam_env.so +auth sufficient pam_fprintd.so +auth sufficient pam_unix.so try_first_pass likeauth nullok +auth required pam_deny.so +auth include system-auth +account include system-auth +session include system-auth