Skip to content

Commit

Permalink
troubleshooting: adjust home path in tip 44
Browse files Browse the repository at this point in the history
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
shadow-maint/shadow#1050

Signed-off-by: Erik Sjölund <[email protected]>
  • Loading branch information
eriksjolund committed Sep 25, 2024
1 parent af4b061 commit 3c5ac59
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -1517,8 +1517,6 @@ 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 / \
--shell /usr/sbin/nologin \
containers
```
Expand Down

0 comments on commit 3c5ac59

Please sign in to comment.