Skip to content
Aurélien Ooms edited this page Jun 19, 2018 · 8 revisions
%wheel ALL = (ALL) NOPASSWD: /usr/bin/tee /sys/class/leds/smc\:\:kbd_backlight/brightness 
%wheel ALL = (ALL) NOPASSWD: /usr/bin/tee /sys/class/backlight/gmux_backlight/brightness 
%wheel ALL = (ALL) NOPASSWD: /usr/bin/tee /sys/class/drm/card0/device/power_dpm_state

%wheel ALL = (ALL) NOPASSWD: /usr/bin/systemctl start dhcpcd
%wheel ALL = (ALL) NOPASSWD: /usr/bin/systemctl stop dhcpcd
%wheel ALL = (ALL) NOPASSWD: /usr/bin/systemctl restart dhcpcd

%wheel ALL = (ALL) NOPASSWD: /usr/bin/systemctl start netctl-auto@*
%wheel ALL = (ALL) NOPASSWD: /usr/bin/systemctl stop netctl-auto@*
%wheel ALL = (ALL) NOPASSWD: /usr/bin/systemctl restart netctl-auto@*

%wheel ALL = (ALL) NOPASSWD: /usr/bin/systemctl start netctl@*
%wheel ALL = (ALL) NOPASSWD: /usr/bin/systemctl stop netctl@*
%wheel ALL = (ALL) NOPASSWD: /usr/bin/systemctl restart netctl@*

%wheel ALL = (ALL) NOPASSWD: /usr/bin/netctl start w*
%wheel ALL = (ALL) NOPASSWD: /usr/bin/netctl stop w*
%wheel ALL = (ALL) NOPASSWD: /usr/bin/netctl restart w*

%wheel ALL = (ALL) NOPASSWD: /usr/bin/wifi-menu

%wheel ALL = (ALL) NOPASSWD: /usr/bin/iw dev w* scan

%wheel ALL = (ALL) NOPASSWD: /usr/bin/ip link set w* down
Clone this wiki locally