On Mon, Nov 03, 2008 at 11:40:04AM +0100, Frans Pop wrote: > On Monday 03 November 2008, Colin Watson wrote: > > * init: Add support for disabling the shells on tty2 and tty3 by > > specifying a 'noshell' option on the kernel cmdline. Useful for > > unattended installations in a public place. > > We'll also need a patch for di-utils' user-params script to avoid the > parameter being added to the command line for the installed system. And > I'd also appreciate a patch to document it in the installation guide.
Attached. -- Colin Watson [EMAIL PROTECTED]
Index: debian/changelog =================================================================== --- debian/changelog (revision 56572) +++ debian/changelog (working copy) @@ -1,3 +1,9 @@ +debian-installer-utils (1.66) UNRELEASED; urgency=low + + * user-params: Exclude noshell, used by rootskel. + + -- Colin Watson <[EMAIL PROTECTED]> Mon, 03 Nov 2008 10:52:15 +0000 + debian-installer-utils (1.65) unstable; urgency=low * When looking for partitions, only consider device subdirectories that end Index: user-params =================================================================== --- user-params (revision 56572) +++ user-params (working copy) @@ -30,7 +30,8 @@ # suppress installer-specific parameters if [ "$var" = BOOT_DEBUG ] || [ "$var" = DEBIAN_FRONTEND ] || \ - [ "$var" = INSTALL_MEDIA_DEV ] || [ "$var" = lowmem ]; then + [ "$var" = INSTALL_MEDIA_DEV ] || [ "$var" = lowmem ] || \ + [ "$var" = noshell ]; then continue fi
Index: en/boot-installer/parameters.xml =================================================================== --- en/boot-installer/parameters.xml (revision 56572) +++ en/boot-installer/parameters.xml (working copy) @@ -216,6 +216,16 @@ </varlistentry> <varlistentry> +<term>noshell</term> +<listitem><para> + +Prevents the installer from offering interactive shells on tty2 and tty3. +Useful for unattended installations where physical security is limited. + +</para></listitem> +</varlistentry> + +<varlistentry> <term>debian-installer/framebuffer (fb)</term> <listitem><para>