mirror of
https://github.com/containers/podman.git
synced 2025-07-02 00:30:00 +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:
@ -1517,8 +1517,7 @@ The following steps create the user _containers_ and assigns big subuid and subg
|
||||
1. Create the user _containers_
|
||||
```
|
||||
sudo useradd --comment "Helper user to reserve subuids and subgids for Podman" \
|
||||
--no-create-home \
|
||||
--home-dir / \
|
||||
--no-create-home \
|
||||
--shell /usr/sbin/nologin \
|
||||
containers
|
||||
```
|
||||
|
Reference in New Issue
Block a user