Noah Meyerhans wrote:
No, you don't need to edit /lib/systemd/system/[email protected].
You should instead create a drop-in config fragment for
[email protected] like the following:
# /etc/systemd/system/[email protected]/autologin.conf
[Service]
ExecStart=
ExecStart=-/sbin/agetty -a root -o '-p -f -- \\u' --keep-baud 115200,38400,9600
%I $TERM
After that, apply the change on the running system with the following,
run as root:
systemctl daemon-reload
systemctl restart [email protected]
Thanks, that's just what I needed!
(For the record, the empty ExecStart= line is needed to clear the list
of commands inherited from the main [email protected] file before
adding the new one.)
Phil.