Public bug reported:

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.168.123.188, mpid=12200, TLS, TLSv1.2 with cipher 
ECDHE-E
CDSA-AES256-GCM-SHA384 (256/256 bits)
Apr 13 13:08:18 venus auth[12195]: pam_unix(dovecot:auth): Couldn't open 
/etc/secure
tty: No such file or directory
Apr 13 13:08:18 venus auth[12195]: pam_unix(dovecot:auth): Couldn't open 
/etc/secure
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.168.123.188, mpid=12202, TLS, TLSv1.2 with cipher 
ECDHE-E
CDSA-AES256-GCM-SHA384 (256/256 bits)

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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931899

To my understanding, this is a problem between pam and login packages in
20.04.

** Affects: shadow (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dovecot login pam securetty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1872443

Title:
  /etc/securetty missing: dovecot not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1872443/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to