Altera_Forum
Honored Contributor
15 years agoinit: /sbin/getty respawning too fast
Hi all, being my uClinux system fully developed I want to disable the "automatic root login without password" in the system console. I followed the steps reported in the wiki but, no matter what I try, nios2-terminal always logins without prompt/password. Init launches getty but nios2-terminal bypasses it.
This is an excerpt from ps: 39 root 560 S -/bin/sh 43 root 560 S -sh 62 root 552 S /sbin/getty 115200 ttyJ0 68 root 540 R ps ~# init: /sbin/getty respawning too fast init: /sbin/getty respawning too fast init: /sbin/getty respawning too fast init: /sbin/getty respawning too fast as seen getty is running over ttyJ0 but nios2-terminal still opens a shell without prompt. Evenmore, periodically init reports the above condition about getty respawning to fast. If the system console is directed to ttyS0 it works as expected (asks for password) but nios2-terminal does not allow any communication with the board over JTAG. These are the lines inside /etc/inittab ttyJ0:vt100:/sbin/getty 115200 ttyJ0 ttyS0:vt100:/sbin/getty 115200 ttyS0 What's wrong? p.s. I double checked that [ ] enable console shell is not enabled.