Serial Console AutoLogin in Jetpack 4.2

Hi.

Jetpack 4.2 is working on TX2.

I want to autologin the serial console.
For Jetpack 3.2
/etc/systemd/system/serial-getty@ttyS0.service.d/autologin.conf

ExecStart = - / sbin / agetty --autologin nvidia --keep-baud 115200,38400,9600% I $ TERM

The above configuration file automatically logs in.
How do I configure Jetpack 4.2?

Best Regards.

javascript:void(0);

Hi,

For the console on UART (ttyS0 or ttyGS0).

sudo vim /etc/systemd/system/getty.target.wants/serial-getty@ttyGS0.service
-> Add -a <username> into the param line of agetty.

For the console on framebuffer (monitor/tty0),

sudo vim /etc/systemd/system/getty.target.wants/getty@tty1.service 
-> Add -a <username> into param line.

Hi

If you do this, you do not need to type an account, but you must type passwd.
How do I avoid typing passwd?

Best Regards.

The one you are asking is called passwordless authentication but not auto-login.

I guess you could refer to