Remove Login prompt while working with LS1043 evolution board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Remove Login prompt while working with LS1043 evolution board

Jump to solution
761 Views
dibyarekha
Contributor IV

Hi All,

I'm trying to figure out how to disable the following login prompt after the kernel boots:

QorIQ SDK POC (Proof of Concept) 4.0.4 ls1043ardb ttyS0

ls1043ardb login:

I want my application should run automatically without asking for login
I am using ubuntu 20.04

0 Kudos
Reply
1 Solution
700 Views
dibyarekha
Contributor IV

Hi @LFGP ,

I found the solution myself.

add  “-a root “ in ExecStart variable in serial-getty@.service file in following path

/sources/poky/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service

 

ExecStart=-/sbin/agetty -a root -8 -L %I @BAUDRATE@ $TERM

View solution in original post

0 Kudos
Reply
3 Replies
729 Views
LFGP
NXP TechSupport
NXP TechSupport
You can use the passwd command.
 
i.e.
$ sudo passwd -d my_username
 
 
0 Kudos
Reply
701 Views
dibyarekha
Contributor IV

Hi @LFGP ,

I found the solution myself.

add  “-a root “ in ExecStart variable in serial-getty@.service file in following path

/sources/poky/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service

 

ExecStart=-/sbin/agetty -a root -8 -L %I @BAUDRATE@ $TERM

0 Kudos
Reply
688 Views
LFGP
NXP TechSupport
NXP TechSupport
Very good solution @dibyarekha, thanks for share it