I am using authentication via smb and want all users of the admins group as local administrators.
For this I created the /etc/polkit-1/localauthority.conf.d/60-local.conf
file as described in pklocalauthority(8)
man page containing
[Configuration]
AdminIdentities=unix-group:sudo;unix-group:admin;unix-group:domain-admins;unix-group:admins
The file /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf
provided by the package policykit-1
contains
[Configuration]
AdminIdentities=unix-group:sudo;unix-group:admin
and seems to work...
I checked that I am inside the group admins
and domain-admins
but whenever I want to do something requiring higher privileges I am getting asked for the password of the local (non-smb) administrator.
What am I missing here?