Score:0

Giving user privileges to setup can bus

ph flag

I would like to give a user the rights to be able to create a virtual can bus without having to be sudo. The command I want to execute is ip link add dev vcan0 type vcan

For this I have used sudo visudo and then added the line "user" ALL=(ALL) /usr/bin/ip link add dev vcan0 type vcan, where "user" is the user I want to give access.

However this does not seem to work. The user still needs to use sudo privileges to be able to setup the can bus.

What am I doing wrong?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.