Updated run udp2raw with non root account (markdown)

wangyu- 2017-12-14 16:43:47 -08:00
parent c2a926631a
commit c89e37ab41

@ -2,7 +2,7 @@ It's not security secure to run a program with root. This page demonstrates how
You must have `setcap` utility as a prerequisite. `setcap` is shipped with most desktop linux distributions by default. But its seems to be missing on OpenWRT/LEDE. You must have `setcap` utility as a prerequisite. `setcap` is shipped with most desktop linux distributions by default. But its seems to be missing on OpenWRT/LEDE.
1. grant udp2raw CAP_NET_RAW permission 1. grant udp2raw CAP_NET_RAW capability
``` ```
sudo setcap cap_net_raw+ep udp2raw_amd64 sudo setcap cap_net_raw+ep udp2raw_amd64
``` ```