From dfcdbb7db56b60b623932b8d37b045f2437b1a4e Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Fri, 11 Jan 2008 22:26:27 +0000 Subject: [PATCH] Improve the securetty config file for Linux: Add ttyS1. Better comments for the ttyS and xen consoles. Add a note for the devfs consoles. They are no more needed for most users. Closes: #454584. Thanks to Bastian Blank. --- debian/changelog | 3 +++ debian/securetty.linux | 23 +++++++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9b1e613b..5807538f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -37,6 +37,9 @@ shadow (1:4.1.0-1) UNRELEASED; urgency=low which comes from 008_login_log_failure_in_FTMP. Fix 008_login_log_failure_in_FTMP. This should fix some bugs causing invalid faillog entries on 64 bit architectures with 32 bit compatibility. + - debian/securetty.linux: Add ttyS1. Better comments for the ttyS and xen + consoles. Add a note for the devfs consoles. They are no more needed for + most users. Closes: #454584 -- Nicolas FRANCOIS (Nekral) Sat, 17 Nov 2007 18:33:26 +0100 diff --git a/debian/securetty.linux b/debian/securetty.linux index dcea050d..68f33619 100644 --- a/debian/securetty.linux +++ b/debian/securetty.linux @@ -2,11 +2,15 @@ # See securetty(5) and login(1). console -# for people with serial port consoles +# Standard serial ports ttyS0 +ttyS1 -# for devfs -tts/0 +# Standard hypervisor virtual console +hvc0 + +# Oldstyle Xen console +xvc0 # Standard consoles tty1 @@ -73,7 +77,14 @@ tty61 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 @@ -137,7 +148,3 @@ vc/60 vc/61 vc/62 vc/63 - -# for Xen consoles -xvc0 -hvc0