我在github上使用了简单的pam (https://github.com/beatgammit/simple-pam)。在我的项目中,我希望使用PAM处理CUPS身份验证,所以我更改了/etc/pam.d/cups
发自:
@include common-auth
@include common-account
@include common-session至:
auth sufficient testpam.so
account sufficient testpam.so当我认证失败时,我得到的CUPS错误是这样的:
[17/Feb/2014:19:24:50 +0800] cupsdAuthorize: pam_authenticate() returned 6 (Permission denied)!
[17/Feb/2014:19:24:52 +0800] cupsdAuthorize: pam_authenticate() returned 6 (Permission denied)!你的simpe pam有什么问题吗?或者我必须实现一些东西?
发布于 2021-11-12 06:56:03
已通过更改cups配置文件修复此问题,并在权限配置中使其允许。
https://stackoverflow.com/questions/21883423
复制相似问题