mirror of
https://github.com/netbirdio/docs.git
synced 2026-10-24 22:49:10 +02:00
Differentiate running netbird as root user and with sudo commands
This commit is contained in:
@@ -78,7 +78,7 @@ sudo netbird up --setup-key <YOUR_SETUP_KEY>
|
||||
|
||||
|
||||
<Note>
|
||||
On a machine with no console, such as a server, run `netbird up` with `sudo`. See [Set up a headless machine](/client/profile-ownership#set-up-a-headless-machine).
|
||||
On a machine with no console, such as a server, run `netbird up` with `sudo`, or as root. If an administrator gave the default profile to a user with `netbird profile claim default --owner <user>`, run `netbird up` as that user without `sudo`. See [Set up a headless machine](/client/profile-ownership#set-up-a-headless-machine).
|
||||
</Note>
|
||||
|
||||
After running the second command, the terminal will confirm Connected. Your headless device is now part of your NetBird network.
|
||||
@@ -155,7 +155,7 @@ sudo netbird up --setup-key <YOUR_SETUP_KEY>
|
||||
|
||||
|
||||
<Note>
|
||||
On a machine with no console, such as a server, run `netbird up` with `sudo`. See [Set up a headless machine](/client/profile-ownership#set-up-a-headless-machine).
|
||||
On a machine with no console, such as a server, run `netbird up` with `sudo`, or as root. If an administrator gave the default profile to a user with `netbird profile claim default --owner <user>`, run `netbird up` as that user without `sudo`. See [Set up a headless machine](/client/profile-ownership#set-up-a-headless-machine).
|
||||
</Note>
|
||||
|
||||
After running the second command, the terminal will confirm Connected. Your headless device is now part of your NetBird network.
|
||||
|
||||
@@ -498,7 +498,7 @@ Alternatively, if you are hosting your own Management Service provide `--managem
|
||||
|
||||
|
||||
<Note>
|
||||
On a machine with no console, such as a server, run `netbird up` with `sudo`. See [Set up a headless machine](/client/profile-ownership#set-up-a-headless-machine).
|
||||
On a machine with no console, such as a server, run `netbird up` with `sudo`, or as root. If an administrator gave the default profile to a user with `netbird profile claim default --owner <user>`, run `netbird up` as that user without `sudo`. See [Set up a headless machine](/client/profile-ownership#set-up-a-headless-machine).
|
||||
</Note>
|
||||
|
||||
<Note>
|
||||
|
||||
@@ -16,7 +16,7 @@ sudo netbird up --setup-key <SETUP KEY>
|
||||
|
||||
|
||||
<Note>
|
||||
On a machine with no console, such as a server, run `netbird up` with `sudo`, or as root. See [Set up a headless machine](/client/profile-ownership#set-up-a-headless-machine).
|
||||
On a machine with no console, such as a server, run `netbird up` with `sudo`, or as root. If an administrator gave the default profile to a user with `netbird profile claim default --owner <user>`, run `netbird up` as that user without `sudo`. See [Set up a headless machine](/client/profile-ownership#set-up-a-headless-machine).
|
||||
</Note>
|
||||
|
||||
You can also pre-populate the client configuration ahead of first start, so peers come up fully configured and register with no manual steps. See [Bootstrap peers via config file](/manage/peers/bootstrap-via-config-file).
|
||||
|
||||
Reference in New Issue
Block a user