Skip to content

Instantly share code, notes, and snippets.

@sumikawa
Created January 29, 2017 05:58
Show Gist options
  • Save sumikawa/4b5d0c4fc8a45a94574cd367fc044b73 to your computer and use it in GitHub Desktop.
Save sumikawa/4b5d0c4fc8a45a94574cd367fc044b73 to your computer and use it in GitHub Desktop.
--- /etc/ttys Mon Aug 23 21:43:13 2004
+++ ttys Fri Feb 24 10:01:57 2006
@@ -30,18 +30,9 @@
#
# If console is marked "insecure", then init will ask for the root password
# when going to single-user mode.
-console none unknown off secure
+console "/usr/libexec/getty std.9600" vt100 on secure
#
ttyv0 "/usr/libexec/getty Pc" cons25 on secure
-# Virtual terminals
-ttyv1 "/usr/libexec/getty Pc" cons25 on secure
-ttyv2 "/usr/libexec/getty Pc" cons25 on secure
-ttyv3 "/usr/libexec/getty Pc" cons25 on secure
-ttyv4 "/usr/libexec/getty Pc" cons25 on secure
-ttyv5 "/usr/libexec/getty Pc" cons25 on secure
-ttyv6 "/usr/libexec/getty Pc" cons25 on secure
-ttyv7 "/usr/libexec/getty Pc" cons25 on secure
-ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" dialup off secure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment