You are not logged in.

#1 2011-10-23 12:21:52

Drake86
Member
Registered: 2011-10-23
Posts: 1

Allow normal user to run "ip link set"

Hi,

every time I power on my wireless lan device by hardware switch I have to execute

ip link set wlan0 up

as root in order to use it. There's a bash script which is triggered with normal user rights by the switch.
I'm member of the network group, but I can't use the bash script to run ip automatically:

[drake@laptop ~]$ ip link set wlan0 up
RTNETLINK answers: Operation not permitted

Is there a way to allow my account to set up wlan0?

Thanks!
Drake

Offline

Board footer

Powered by FluxBB