| 1 |
.\" Copyright, the authors of the Linux man-pages project |
| 2 |
.\" |
| 3 |
.\" SPDX-License-Identifier: GPL-2.0-or-later |
| 4 |
.\" |
| 5 |
.TH securetty 5 2025-05-17 "Linux man-pages 6.18" |
| 6 |
.SH NAME |
| 7 |
securetty \- list of terminals on which root is allowed to login |
| 8 |
.SH DESCRIPTION |
| 9 |
The file |
| 10 |
.I /etc/securetty |
| 11 |
contains the names of terminals |
| 12 |
(one per line, without leading |
| 13 |
.IR /dev/ ) |
| 14 |
which are considered secure for the transmission of certain authentication |
| 15 |
tokens. |
| 16 |
.P |
| 17 |
It is used by (some versions of) |
| 18 |
.BR login (1) |
| 19 |
to restrict the terminals |
| 20 |
on which root is allowed to login. |
| 21 |
See |
| 22 |
.BR login.defs (5) |
| 23 |
if you use the shadow suite. |
| 24 |
.P |
| 25 |
On PAM enabled systems, it is used for the same purpose by |
| 26 |
.BR pam_securetty (8) |
| 27 |
to restrict the terminals on which empty passwords are accepted. |
| 28 |
.SH FILES |
| 29 |
.I /etc/securetty |
| 30 |
.SH SEE ALSO |
| 31 |
.BR login (1), |
| 32 |
.BR login.defs (5), |
| 33 |
.BR pam_securetty (8) |