Updated users in post-install of alpine-server setup.

This commit is contained in:
Luc Bijl 2024-08-11 22:44:17 +02:00
parent 8c37c16088
commit 720847971c

View file

@ -4,7 +4,7 @@ To run containers securely; in an environment with fewer privileges, a user is n
## Wheel
Before creating the user install `doas`, to use when root is required:
Before creating the user, install `doas`. To be able to "do as" root when it is required:
```
# apk add doas
@ -18,10 +18,10 @@ permit persist :wheel as root
## Adding a user
Adding a user in Alpine Linux can be done using the `setup-user` script. Here we can specify the name, groups and more:
A user can be added in Alpine Linux with the `setup-user` script. Here we can specify the name, groups and more:
```
# setup-user -g wheel,_power <username>
# setup-user -g wheel <username>
# passwd <username>
```