beaglebone Debian 9 设置root自动登陆 autologin

修改/etc/systemd/system/getty.target.wants/[email protected]文件 
在里面把ExecStart修改为如下所示 
[Service]
ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 %I $TERM -a root
保存,重启系统即可实现root自动登陆系统

Debian GNU/Linux 9 beaglebone ttyS0

BeagleBoard.org Debian Image 2018-10-07

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

beaglebone login: root (automatic login)

Last login: Sun Oct  7 17:36:34 UTC 2018 on ttyS0

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@beaglebone:~# 

 

你可能感兴趣的:(beaglebone,linux)