/etc/pam.d/common-auth
因此,我有一个加密的主页,PAM 通常通过和解开密码/etc/pam.d/common-session-noninteractive
。这对于 SSHD 会话来说很好用,但是当我打开 samba 会话时,虽然它可以登录,但不会解开密码:
Signature not found in user keyring
Perhaps try the interactive 'ecryptfs-mount-private'
我不确定为什么这没有触发,因为存在以下情况:
/etc/pam.d/common-auth
auth optional pam_ecryptfs.so unwrap
/etc/pam.d/common-session-noninteractive
session optional pam_ecryptfs.so unwrap
/etc/pam.d/samba
@include common-auth
@include common-account
@include common-session-noninteractive
有任何想法吗?