Closed rocka closed 5 years ago
Update: fixed
Reason: there are 2 files in my /etc/sudoers.d/
, one is 99-plasma-pstate
, the other is my custom wheel
(wheel is my group name):
# cat /etc/sudoers.d/wheel
%wheel ALL=(ALL) ALL
# cat /etc/sudoers.d/99-plasma-pstate
%wheel ALL=NOPASSWD: /usr/share/plasma/plasmoids/gr.ictpro.jsalatas.plasma.pstate/contents/code/set_prefs.sh
Because file name wheel
has no digits at the beginning, it overrided 99-plasma-pstate
. Password is required when executing set_prefs.sh
.
Solution:
# mv /etc/sudoers.d/wheel /etc/sudoers.d/10-wheel
Then it works prefectly now :-P
set_prefs.sh -read-all
Hope that's enough infomation for debugging ...