AnsweredAssumed Answered

How to cancel the "login" in Yocto

Question asked by zohan Lin on Mar 11, 2019
Latest reply on May 13, 2019 by zohan Lin

Dear all, I want to make a SD burning image card,

so I need to cancel the login as below:

----------------------------------------------------------------------------------------------------------

NXP i.MX Release Distro 4.9.88-2.0.0 imx6qsabresd ttymxc0

imx6qsabresd login: root
root@imx6qsabresd:~#

----------------------------------------------------------------------------------------------------------

I try to add "/bin/login -f root" to /etc/profile, but it failed because the profile is executed after root login.

 

Someone could tell me how to cancel "login" ?

 

 

Thanks a lot,

zohan

Outcomes