The screen froze, and the terminal flashed a single line: Authentication failure (tty).
It looks harmless. It’s not. A failed authentication on a tty (teletypewriter) interface is a gate slamming shut, a reminder that the operating system still defends its entry points with old and deliberate rules. This message appears when the system refuses your credentials while you’re trying to log in through a direct terminal session—whether physical or virtual. Understanding why it happens is the difference between a smooth deployment and staring at a locked shell under pressure.
A tty is more than a relic term from Unix history. It’s the abstraction for an interactive text interface between you and the kernel. Logging in locally? You’re on a tty. Connecting over SSH to a pseudo-terminal? That’s a pty, built from the same concept. When the system says Authentication Tty or throws related PAM (Pluggable Authentication Modules) logs, it’s enforcing a policy: who can enter, from where, and how.
Common causes are often buried in PAM configuration, /etc/securetty entries, user shell policies, or even SELinux contexts. If a user is blocked here, it can be because the account is restricted to certain ttys, or because root logins are disabled for remote ttys. This prevents privilege escalation from untrusted environments.