I have to use the serial port(in GPIOs tty0) for a certain application. For that the tutorial asks to disable Getty in /etc/inittab, by commenting the following line.
Code: Select all
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100Code: Select all
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100Thanks DougieLawson,DougieLawson wrote:Getty is only used on the console. Usually from /etc/inittab. There's six virtual consoles (ctrl+alt+1 to ctrl+alt+6) in Raspbian.
sshd launches a bash shell when you logon, it doesn't use getty or a pts device.
Thanks.rpdom wrote:The getty entries in /etc/inittab have nothing to do with ssh logins.