-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Undoing Root "Auto‐Login"
CanbiZ edited this page May 9, 2025
·
4 revisions
This has been asked several times so I'll list the steps to undo autologin. If you don't set a root password first, you will not be able to login to the container again, ever.
sudo passwd rootremove --autologin root from /etc/systemd/system/[email protected]/override.conf
rebootpasswd rootrm -rf /etc/local.d/autologin.start reboot