> Here is another thought. Could you test if creating a getty line using
> /dev/console just magically works? Given the fact that the installer does
> not need any special setup and uses /dev/console, that might just do it.
> It would remove the need to figure out exactly what type of virtual
> console is being used and that would simplify the patch a lot. I suspect
> the alternative attached script might just work.
I changed /etc/inittab as follows:
#co:2345:respawn:/sbin/getty hvsi0 9600 vt100
co:2345:respawn:/sbin/getty console 9600 vt100
In the example below I can log inn and execute 'su' successfully; however, I get following echo'ed to the screen:
"no job control in this shell"
Debian GNU/Linux 4.0 hv2pos console
hv2pos login: rolfb
Last login: Fri May 25 14:25:57 2007 on hvsi0
Linux hv2pos 2.6.18-4-powerpc64 #1 SMP Fri May 4 07:57:01 UTC 2007 ppc64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
-bash: no job control in this shell
$ su -
-su: no job control in this shell