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:
parent
af4b061f53
commit
7fbc6d9370
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue