From 57be012872cfdac7ce8aa09a0d606d1fd0654a73 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 9 May 2025 15:08:18 +0200 Subject: [PATCH] =?UTF-8?q?Updated=20Undoing=20Root=20"Auto=E2=80=90Login"?= =?UTF-8?q?=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "Undoing-Root-\"Auto‐Login\".md" | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git "a/Undoing-Root-\"Auto‐Login\".md" "b/Undoing-Root-\"Auto‐Login\".md" index 37eba35..49c52b4 100644 --- "a/Undoing-Root-\"Auto‐Login\".md" +++ "b/Undoing-Root-\"Auto‐Login\".md" @@ -9,6 +9,23 @@ sudo passwd root ## 2. Remove Autologin **remove** ```--autologin root``` **from** ```/etc/systemd/system/container-getty@1.service.d/override.conf``` +## 3. Reboot Machine +```bash +reboot +``` + + +Alpine: +## 1. set the root password +```bash +passwd root +``` + +## 2. Remove Autologin +```bash +rm -rf /etc/local.d/autologin.start +``` + ## 3. Reboot Machine ```bash reboot