set_cap: helper script to set CAP_NET_ADMIN for the binary
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
parent
da0b1c720e
commit
82d6ac96e4
5
cmd/hvpn-node/set_cap.sh
Executable file
5
cmd/hvpn-node/set_cap.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set +x
|
||||
|
||||
sudo setcap 'cap_net_admin=+ep' hvpn-node
|
Loading…
Reference in New Issue
Block a user