1cce5020ad
The username is read with the liner line editor, which puts the console pty into raw mode (ICANON/ECHO cleared) and does not restore it. In raw mode the pty line discipline never flushes a completed line into the slave read buffer the way a shell's canonical read_line expects, so the interactive shell (brush) never receives a typed command even though getty forwards it to the pty master. Reset stdin to sane cooked settings (ICANON|ECHO|ISIG, ICRNL, OPOST|ONLCR, VMIN=1/VTIME=0) via tcsetattr before spawning the shell.