Skip to content

Enable configuring CAN without root access #465

@reimarstier

Description

@reimarstier

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

  • Add additional attributes for network administrative privileges to the binaries ip and cangw
  • Ensure this works in a docker container

Background

We are already adding network administrative capabilites to the opendut-edgar binary here

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions