Here is the problem: I have integrated Ubuntu Desktop with Active Directory authentication. Adding domain user or group to /etc/sudoers.d wasn't so difficult. But with graphical interface and the sorry piece of software called polkit there is a problem:
- Every "elevated" action requires the password. And not any sudoers' user password but first local user password.
- Depending on environment many settings in control panel are "hidden" from non-local first user.
So the question is how can I realistically change behavior of policykit to more Windows-like where sudoer is both in bash and in GUI has admin permissions?
Or, if that is hard to achieve, than how to suppress/remove darn thing from appearing?
I've tried lots of distros like latest (22.04) Ubuntu Desktop, Ubuntu MATE, Linux Mint MATE, Pop! - everyone has this polkit stuff.
We are integrating Ubuntu with aid of winbind and samba