I am using Ubuntu Mate 20.04 and
pkexec to launch apps with admin privileges if needed.
However, when policy agent kit asking to authorize request, there is no enough information to make a decision. For example, if I run
pkexec sh -c 'echo hello'
I'll see this promt:
Note that there is no information about the command I'm trying to execute. So, it would look like the same for dangerous
pkexec sh -c 'rm -rf /'
How can I tweak my setup by configuring or changing agent so I can see more information (e.g. full command line) about action I'm asked to authorize?