You are not logged in.

#1 2018-08-17 16:18:33

kd8rgp
Member
Registered: 2018-08-17
Posts: 1

Setting up autologin non-interactively

I am creating a bash script to set up an Arch install to a specific configuration. While I have most of the script done, I have run into a bit of a wall regarding autologin. I need to enable autologin through getty on tty1. The Arch Wiki describes how to edit the units using systemctl interactively, but I need the script to be able to perform this configuration non-interactively. Is it as simple as dropping the snippet into /etc/systemd/system/getty@tty1.service.d/override.conf and running "systemctl daemon-reload", or is there something more to it?

Offline

Board footer

Powered by FluxBB