Address coderabbit comments

This commit is contained in:
Theodor S. Midtlien
2026-10-22 17:10:20 +02:00
parent 3fd2716911
commit 136fad7e3d
+16 -2
View File
@@ -252,6 +252,10 @@ Administrators and LocalSystem always keep access.
## Troubleshooting
<Note>
The commands in this section use `sudo` for Linux and macOS. On Windows, remove `sudo` and run the command in an elevated terminal.
</Note>
### Another user has this machine connected
**Symptom:** A command fails with a message that says another user has the machine connected.
@@ -314,16 +318,22 @@ Error: resolve allowed group "netbird": look up account: The trust relationship
- To keep the restriction, set the group SID. The installer does not look up a SID. The `allow_group_ids` field in `service.json` shows the SID from the last installation.
```shell
# Service is installed
netbird service reconfigure --allow-group sid:<SID>
# Service is not installed
netbird service install --allow-group sid:<SID>
```
- To remove the restriction, set an empty value:
```shell
# Service is installed
netbird service reconfigure --allow-group=""
# Service is not installed
netbird service install --allow-group=""
```
If the service is not installed, use `install`. `reconfigure` works only on an installed service.
`reconfigure` works only on an installed service. To check, run `netbird service status`.
**Confirm:** Run `netbird service status`. Then connect to the daemon as a user in the group, for example with `netbird status`.
@@ -333,7 +343,11 @@ If the service is not installed, use `install`. `reconfigure` works only on an i
**Cause:** Only a user at the console can claim the default profile automatically. On Windows, a user in a Remote Desktop (RDP) session is not at the console. On Linux, a user in a remote session is not at the console.
**Fix:** Ask an administrator to run `sudo netbird profile claim default --owner <user>`.
**Fix:** Ask an administrator to claim the default profile for the user:
```shell
netbird profile claim default --owner <user>
```
### Users lost access to the default profile after the upgrade