16 Oct
2005
16 Oct
'05
6:25 p.m.
On Thu, 2005-10-06 at 10:28 -0700, Jeff Ramsey wrote:
/etc/pam.d/ssh, /etc/pam.d/login, and /etc/pam.d/gdm all have a line
calling mkhomedir.so, which is using the /etc/skel home directory
skeleton to create the user's home dir upon successful login,
however, when I add that line to /etc/pam.d/dovecot, I get a
permission denied error in /var/log/maillog. I'm assuming this is
because dovecot is running as the user at this point,
No. PAM calls are made by dovecot-auth process, and it runs as auth_user specified in config file. Have you changed that to be non-root? Another reason why it could be denied is because of SELinux if you have it enabled.