mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
[fprintd] add ability to press enter and proceed to fingerprint authentication.
Adding pam_fprintd.so as sufficient to any configuration file in /etc/pam.d/ when a fingerprint signature is present will only prompt for fingerprint authentication. This prevents the use of a password if you cannot Ctrl+c fingerprint authentication (due to the lack of a shell). In order to use either a password or a fingerprint in a graphical interface, add the following line to the top of any files required: ``` auth sufficient pam_unix.so try_first_pass likeauth nullok auth sufficient pam_fprintd.so ... ``` This will prompt for a password; pressing Enter on a blank field will proceed to fingerprint authentication.
This commit is contained in:
parent
d76e822d54
commit
31d3a6a2ff
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{% if fingerprint == True %}
|
||||
auth sufficient pam_fprintd.so
|
||||
auth sufficient pam_unix.so try_first_pass likeauth nullok
|
||||
auth sufficient pam_fprintd.so
|
||||
{% endif %}
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue