set_cap: helper script to set CAP_NET_ADMIN for the binary

Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
HeshamTB 2024-03-18 23:03:18 +03:00
parent da0b1c720e
commit 82d6ac96e4
Signed by: Hesham
GPG Key ID: 74876157D199B09E

5
cmd/hvpn-node/set_cap.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set +x
sudo setcap 'cap_net_admin=+ep' hvpn-node