/etc/securetty missing: dovecot not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shadow (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
With Ubuntu 20.04 Focal Fossa, /etc/securetty is missing from the "login" package (4.8.1-1ubuntu4).
This leads to errors such as in /var/log/mail.log when a dovecot auth is tried:
Apr 13 13:08:17 venus dovecot[10588]: imap-login: Login: user=<tttt>, method=PLAIN,
rip=192.168.123.1, lip=192.
CDSA-AES256-
Apr 13 13:08:18 venus auth[12195]: pam_unix(
tty: No such file or directory
Apr 13 13:08:18 venus auth[12195]: pam_unix(
tty: No such file or directory
Apr 13 13:08:18 venus dovecot[10588]: imap-login: Login: user=<tttt>, method=PLAIN,
rip=192.168.123.1, lip=192.
CDSA-AES256-
It seems that pam_unix still needs /etc/securetty, but login no longer provides it.
There was a similar bug in debian that seems to be related:
https:/
To my understanding, this is a problem between pam and login packages in 20.04.
At least, in 18.04, the file /etc/securetty was in package login...