At the moment we require root access for EDGAR because we want to be able:
- to configure CAN devices with the
ip command, and
- use
cangw to configure CAN routing
There are two options to avoid running the entire application as root:
- Either by implementing the above configuration options with rtnetlink, or
- By adding
setcap attributes to the respective binaries and verifying that we are actually able to run those commands without being root.
Tasks
Background
We are already adding network administrative capabilites to the opendut-edgar binary here
At the moment we require root access for EDGAR because we want to be able:
ipcommand, andcangwto configure CAN routingThere are two options to avoid running the entire application as root:
setcapattributes to the respective binaries and verifying that we are actually able to run those commands without being root.Tasks
ipandcangwBackground
We are already adding network administrative capabilites to the opendut-edgar binary here