Red Hat Bugzilla – Bug 149673
Dovecot fails with pam_access
Last modified: 2014-01-21 17:51:15 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
If /etc/pam.d/dovecot contains
account required /lib/security/$ISA/pam_access.so
then any attempt to connect to Dovecot generates errors in
Feb 24 14:46:10 ilium dovecot(pam_unix): check pass; user unknown
Feb 24 14:46:10 ilium dovecot(pam_unix): authentication
failure; logname= uid=0 euid=0 tty= ruser= rhost=
Feb 24 14:46:10 ilium pam_access: couldn't get the tty name
If the pam_access line is removed, Dovecot works as expected. This is
very similar to
presumably has a similar cause.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add "account required /lib/security/$ISA/pam_access.so" to
2. Attempt to log in to Dovecot
Actual Results: Login failure (e.g. Thunderbird says "Login to server
<server name> failed."), and errors in /var/log/messages.
Expected Results: Login should succeed.
This is very similar to
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146073 and may
have a similar cause.
I confirmed that the string "PAM_TTY" doesn't exist in the latest
FC3 dovecot srpm. The fix for bug 146073 involved adding two lines
that included this string.
I've sent Timo Sirainen, the dovecot author, an email about this,
but I see that he's cc'd on the bug already. :)