In /etc/ttys, is it secure to comment out terminals I don't use, than to turn it off, and mark them "insecure"?
This is what I have, and the argument lines commented out also work without the #.
For the dialup section, ttyu0 cannot be commented out, or it won't work.
This is what I have, and the argument lines commented out also work without the #.
Code:
# name getty type status comments
...
console none unknown off secure
#
ttyv0 "/usr/libexec/getty Pc" xterm on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" xterm on secure
ttyv2 "/usr/libexec/getty Pc" xterm on secure
ttyv3 "/usr/local/bin/xdm -nodaemon" xterm on secure
#ttyv4 "/usr/libexec/getty Pc" xterm off insecure
#ttyv5 "/usr/libexec/getty Pc" xterm off insecure
#ttyv6 "/usr/libexec/getty Pc" xterm off insecure
#ttyv7 "/usr/libexec/getty Pc" xterm off insecure
#ttyv8 "/usr/libexec/getty Pc" xterm off insecure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0 "/usr/libexec/getty 3wire" vt100 off insecure
#ttyu1 "/usr/libexec/getty 3wire" vt100 off insecure
#ttyu2 "/usr/libexec/getty 3wire" vt100 off insecure
#ttyu3 "/usr/libexec/getty 3wire" vt100 off insecure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure