mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
expanded arguments in useradd to be easier to understand for beginners
This commit is contained in:
parent
db930af50e
commit
6dd9e93346
@ -31,7 +31,13 @@ mkdir -p /etc/headscale
|
|||||||
# Directory for Database, and other variable data (like certificates)
|
# Directory for Database, and other variable data (like certificates)
|
||||||
mkdir -p /var/lib/headscale
|
mkdir -p /var/lib/headscale
|
||||||
# or if you create a headscale user:
|
# or if you create a headscale user:
|
||||||
useradd -md /var/lib/headscale/ -rUs /usr/bin/nologin headscale
|
useradd \
|
||||||
|
--create-home \
|
||||||
|
--home-dir /var/lib/headscale/ \
|
||||||
|
--system \
|
||||||
|
--user-group \
|
||||||
|
--shell /usr/bin/nologin \
|
||||||
|
headscale
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Create an empty SQLite database:
|
4. Create an empty SQLite database:
|
||||||
|
Loading…
Reference in New Issue
Block a user