Remove Linux capabilities section (#23239)

This commit is contained in:
Benoit Anastay 2022-06-30 01:08:17 +02:00 committed by GitHub
parent d24e8e3702
commit 69d33bfa12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,14 +51,4 @@ Raw configurable scan options for Nmap:
default: -F T4 --min-rate 10 --host-timeout 5s
{% endconfiguration_basic %}
### Linux capabilities
On Linux systems (such as the Home Assistant Operating System) you can extend the functionality of Nmap, without having to run it as root, by using *Linux capabilities*. Be sure to specify the full path to wherever you installed Nmap:
```bash
sudo setcap cap_net_raw,cap_net_admin,cap_net_bind_service+eip /usr/bin/nmap
```
And you can set up the device tracker scan options with `--privileged -sn`
See the [device tracker integration page](/integrations/device_tracker/) for instructions how to configure the people to be tracked.