How to run ip netns exec without password?
I'm on arch and am using a network namespace wiredlan for ethernet, using it for LAN based applications and big downloads. I run commands/apps on the netns as:
This works, but I want to be able to run it without having to enter password, to make things easier. But as the command part of runonlan command varies, I can't figure out what to put in sudoers in order to make it run without prompting for password.
So, I tried editing sudoers, adding (one at a time):
but it still asks for the password. What am I doing wrong? Is this even possible?
评论
?
参与讨论