Updated Undoing Root "Auto‐Login" (markdown)

CanbiZ 2025-05-09 15:08:18 +02:00
parent cf6dd4bf24
commit 57be012872

@ -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