如何解决如何让 fprint 为 su 工作,它为 sudo 工作
使用 Manjaro-KDE,我的指纹读取器适用于登录和 sudo,但不适用于 su;在 $su 之后它要求输入密码。如何解决这个问题?我在 /etc/pam.d 中的配置:
#%PAM-1.0
# sudo: next line added,works
auth sufficient pam_fprintd.so
auth include system-auth
account include system-auth
session include system-auth
#%PAM-1.0
# su: next line added,asks for password
auth sufficient pam_fprintd.so
auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth required pam_wheel.so use_uid
auth required pam_unix.so
account required pam_unix.so
session required pam_unix.so
解决方法
在 $su 之后它要求输入密码
你应该试试
$ su YOUR_USERNAME
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。