diff options
Diffstat (limited to 'etc/ttys')
-rw-r--r-- | etc/ttys | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/etc/ttys b/etc/ttys index 20fda7f791262..93406544ad304 100644 --- a/etc/ttys +++ b/etc/ttys @@ -3,17 +3,21 @@ # # name getty type status comments # -ttyv0 "/usr/libexec/getty Pc" pc3 on secure +# This entry needed for asking password when init goes to single-user mode +# If you want to be asked for password, change "secure" to "insecure" here +console none unknown off secure +# +ttyv0 "/usr/libexec/getty Pc" cons25 on secure # Virtual terminals -ttyv1 "/usr/libexec/getty Pc" cons25 off secure -ttyv2 "/usr/libexec/getty Pc" cons25 off secure +ttyv1 "/usr/libexec/getty Pc" cons25 on secure +ttyv2 "/usr/libexec/getty Pc" cons25 on secure ttyv3 "/usr/libexec/getty Pc" cons25 off secure # Hardwired terminals tty00 "/usr/libexec/getty std.9600" unknown off secure tty01 "/usr/libexec/getty std.9600" unknown off secure # Dialin terminals -ttyd2 "/usr/libexec/getty std.9600" unknown off secure -ttyd3 "/usr/libexec/getty std.9600" unknown off secure +ttyd2 "/usr/libexec/getty std.9600" unknown off secure +ttyd3 "/usr/libexec/getty std.9600" unknown off secure # Pseudo terminals ttyp0 none network ttyp1 none network |