Here is my simple script for grepping "<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>" inside /usr/share/polkit-1/actions/*.policy files in packages.
How to use:
1. apt-file search /usr/share/polkit-1/actions/ | grep "\.policy$" | awk '{print $1;}' | sed 's/[:]/ /g' | sort | uniq > polkit.txt
2. execute my script with ./do-pk.sh polkit.txt
4. it will do apt-get download, dpkg-deb -R, grep 'allow_.*auth_admin'&&'allow_gui.*true' and and print
some info:
...
aptdaemon is not affected by polkit
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
apt-offline-gui is affected by polkit
...
Here is my simple script for grepping "<allow_ any>auth_ admin</ allow_any> allow_inactive> auth_admin< /allow_ inactive> allow_active> auth_admin< /allow_ active> freedesktop. policykit. exec.allow_ gui">true< /annotate> " inside /usr/share/ polkit- 1/actions/ *.policy files in packages.
<
<
<annotate key="org.
How to use: polkit- 1/actions/ | grep "\.policy$" | awk '{print $1;}' | sed 's/[:]/ /g' | sort | uniq > polkit.txt .*auth_ admin'& &'allow_ gui.*true' and and print
1. apt-file search /usr/share/
2. execute my script with ./do-pk.sh polkit.txt
4. it will do apt-get download, dpkg-deb -R, grep 'allow_
some info:
... freedesktop. policykit. exec.allow_ gui">true< /annotate>
aptdaemon is not affected by polkit
<annotate key="org.
apt-offline-gui is affected by polkit
...
Hope it helps.