drake127 wrote:
patrick wrote:
I let it copy over /etc/securetty. What have I done?!
I guess you won't connect to console as root (su will still work though).
FWIW, here's the diff that the installer supplies:
*** securetty (Y/I/N/O/D/Z) [default=N] ? D
--- /etc/securetty 2005-06-07 02:07:55.000000000 -0400
+++ /etc/securetty.dpkg-new 2008-11-22 11:00:58.000000000 -0500
@@ -2,14 +2,34 @@
# See securetty(5) and login(1).
console
-# for people with serial port consoles
+# Standard serial ports
ttyS0
+ttyS1
-# for devfs
-tts/0
+# USB dongles
+ttyUSB0
+ttyUSB1
+ttyUSB2
+
+# Embedded MPC platforms
+ttyPSC0
+ttyPSC1
+ttyPSC2
+ttyPSC3
+ttyPSC4
+ttyPSC5
+
+# PA-RISC mux ports
+ttyB0
+ttyB1
+
+# Standard hypervisor virtual console
+hvc0
+
+# Oldstyle Xen console
+xvc0
# Standard consoles
-tty0
tty1
tty2
tty3
@@ -74,7 +94,14 @@
tty62
tty63
-# Same as above, but these only occur with devfs devices
+# devfs consoles
+# Note: On kernels greater than 2.6.12, this is not needed.
+
+# Standard serial ports, with devfs
+tts/0
+tts/1
+
+# Standard consoles, with devfs
vc/1
vc/2
vc/3
So, it looks like the only non-commented lines that are removed by the update are tts/0 and tty0, and in fact tts/0 is re-added later in the file. Perhaps the tty0 is crucial? I went with the poster's suggestion and left the existing file alone.