diff --git "a/Undoing-Root-\"Auto‐Login\".md" "b/Undoing-Root-\"Auto‐Login\".md" new file mode 100644 index 0000000..c013352 --- /dev/null +++ "b/Undoing-Root-\"Auto‐Login\".md" @@ -0,0 +1,14 @@ +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. + +## 1. set the root password +```bash +sudo passwd root +``` + +## 2. Remove Autologin +**remove** ```bash--autologin root``` **from** ```bash/etc/systemd/system/container-getty@1.service.d/override.conf``` + +## 3. Reboot Machine +```bash +reboot \ No newline at end of file