ArchLabs Linux

Disable autologin as root on boot

I have clean installed the latest version, and it seems with this version with no WM installed by default it auto logs in as root on boot. How can I disable this?

Thank you for reporting this, it should really be in the bug report section.

You’ll need to remove /etc/systemd/system/getty@tty1.service.d

Or if you want autologin for your user you can edit the autologin.conf within and change root to your user, or just use sed

sed -i "s/root/${USER}/g" /etc/systemd/system/getty@tty1.service.d/autologin.conf