Hi, I'm using i.MX6, and i want to do "autologin" without inserting 'username(root)' after finish booting on the board.
----------------------------------------------------------
freescale login: root
Password:
login[3101]: root login on 'ttymxc1'
----------------------------------------------------------
There are similar problem on the web.. they give solutions that I have to modify a file : '/etc/inittab'
My 'inittab' file is below
----------------------------------------------------------
::sysinit:/etc/rc.d/rcS
::respawn:/etc/rc.d/rc_mxc.S
::sysinit:/etc/rc.d/rc_gpu.S
::ctrlaltdel:/sbin/reboot
::shutdown:/etc/rc.d/rcS stop
::restart:/sbin/init
----------------------------------------------------------
it is different from others on the web.
So, i have tried several times,, but could't solve this problem
somebody has solutions about the problem?
thank you
Hi Donghee Seok,
You can follow the below steps (to autologin in imx6q) after getting the boards console in minicom. (You need to login at least one time then you can do changes as per below.)
1. $ cp /lib/systemd/system/serial-getty@.service /etc/systemd/system/getty.target.wants/serial-getty@<console>.service
2. And append the "-a root" for auto login: (in /etc/systemd/system/getty.target.wants/serial-getty@<console>.service).
$ ExecStart=-/sbin/agetty -8 -a root -L %I 115200 $TERM
Regards,
Radhika Somaiya.