我正在使用笔记本电脑。我想在输入错误密码或“扫描指纹错误”时拍照。我刚刚找到了有关第一部分的问题/答案(输入错误密码时可以让网络摄像头拍照吗?)
但没有关于指纹的信息。我执行了这些步骤,但没有任何效果。我认为这与我的指纹使用情况有关。
这是我的默认“etc/pam.d/common-auth”:
auth [success=3 default=ignore] pam_fprintd.so max_tries=1 timeout=10 # debug
auth [success=2 default=ignore] pam_unix.so nullok try_first_pass
auth [success=1 default=ignore] pam_sss.so use_first_pass
# here's the fallback if no module succeeds
auth requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth required pam_permit.so
# and here are …Run Code Online (Sandbox Code Playgroud)