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 to make troubleshooting tip 44
robust against mistakes.

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 7a02f9b
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 7a02f9b

Please sign in to comment.