Swapped a line around
This commit is contained in:
parent
9aea52a294
commit
b229be1615
1 changed files with 3 additions and 3 deletions
|
@ -33,14 +33,14 @@ Adding a user in alpine can be done using the `setup-user` script. Here we can s
|
|||
# passwd <username>
|
||||
```
|
||||
|
||||
And you (might) have to change the shell of the user in `/etc/passwd` from `/sbin/nologin` to a shell from `/etc/shells`. Alpine Linux comes with `/bin/ash` by default:
|
||||
> It's also recommended to have an "admin" account which is the only one in the wheel group.
|
||||
|
||||
And you may have to change the shell of the user in `/etc/passwd` from `/sbin/nologin` to a shell from `/etc/shells`. Alpine Linux comes with `/bin/ash` by default:
|
||||
|
||||
```
|
||||
<username>:x:1234:1234:<Full Name>:/home/<username>:/bin/<shell>
|
||||
```
|
||||
|
||||
> It's also recommended to have an "admin" account which is the only one in the wheel group.
|
||||
|
||||
Don't login yet if you want to encrypt the directory.
|
||||
|
||||
If you have checked that `doas` works with the user then you can lock the root account because it's insecure to keep open. This can be done with:
|
||||
|
|
Loading…
Reference in a new issue