Code:
# cat /etc/init/tty.conf
# This service maintains a getty on the sepcified device.
stop on runlevel [016]
respawn
instance $TTY
exec /sbin/mingetty $TTY
exec /sbin/mingetty --autologin user tty1
when i use this conf I'm auto logged back in again , and cant't execute any command
commenting pre-last line has no effect.
How to enable autologin on desired tty for certain user?
Thank you.