KDE uses its own policies.fizzy-logic wrote:When invoking sudo, the following is showung up myself is not in the sudoers file. This incident will be reported.
As I understand it, I should have been added to the wheel during installation.
What gives ?
But this has to be done by zzz-settings-kde at installation time. So something has changed after installation.
To solve it do the following.
Code: Select all
sudo sed -i "s/AdminIdentities=.*/AdminIdentities=unix-group:wheel/g" /etc/polkit-1/localauthority.conf.d/50-localauthority.conf
Code: Select all
cat /etc/polkit-1/localauthority.conf.d/50-localauthority.conf
# Configuration file for the PolicyKit Local Authority.
#
# DO NOT EDIT THIS FILE, it will be overwritten on update.
#
# See the pklocalauthority(8) man page for more information
# about configuring the Local Authority.
#
[Configuration]
AdminIdentities=unix-group:wheel
The file ~/.kde/share/config/kdesurc has to exist having these two lines:
Code: Select all
[super-user-command]
super-user-command=sudo