Updated Undoing Root "Auto‐Login" (markdown)
parent
cf6dd4bf24
commit
57be012872
@ -9,6 +9,23 @@ sudo passwd root
|
|||||||
## 2. Remove Autologin
|
## 2. Remove Autologin
|
||||||
**remove** ```--autologin root``` **from** ```/etc/systemd/system/container-getty@1.service.d/override.conf```
|
**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
|
## 3. Reboot Machine
|
||||||
```bash
|
```bash
|
||||||
reboot
|
reboot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user