mirror of
https://github.com/containers/podman.git
synced 2025-07-03 09:17:15 +08:00
troubleshooting: adjust home path in tip 44
Modify the home dir path in troubleshooting tip 44 to prevent files from being accidentally removed. userdel with force argument tries to remove home dir path "/" according to https://github.com/shadow-maint/shadow/issues/1050 Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
This commit is contained in:
@ -1518,7 +1518,6 @@ The following steps create the user _containers_ and assigns big subuid and subg
|
|||||||
```
|
```
|
||||||
sudo useradd --comment "Helper user to reserve subuids and subgids for Podman" \
|
sudo useradd --comment "Helper user to reserve subuids and subgids for Podman" \
|
||||||
--no-create-home \
|
--no-create-home \
|
||||||
--home-dir / \
|
|
||||||
--shell /usr/sbin/nologin \
|
--shell /usr/sbin/nologin \
|
||||||
containers
|
containers
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user