the question is more tricky
ettercap has the pkexec file #!/bin/sh pkexec --disable-internal-agent "ettercap" "$@"
but it is using a polkit file <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> <policyconfig>
<action id="@PKEXEC_INSTALL_WRAPPER@"> <message>Authentication is required to run Ettercap</message> <icon_name>ettercap</icon_name> <defaults> <allow_any>auth_admin</allow_any> <allow_inactive>auth_admin</allow_inactive> <allow_active>auth_admin</allow_active> </defaults> <annotate key="org.freedesktop.policykit.exec.path">@INSTALL_BINDIR@/ettercap</annotate> <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> </action>
</policyconfig>
so, as upstream, I don't know what to do :(
the question is more tricky
ettercap has the pkexec file internal- agent "ettercap" "$@"
#!/bin/sh
pkexec --disable-
but it is using a polkit file p//DTD PolicyKit Policy Configuration 1.0//EN" www.freedesktop .org/standards/ PolicyKit/ 1/policyconfig. dtd">
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedeskto
"http://
<policyconfig>
<action id="@PKEXEC_ INSTALL_ WRAPPER@ "> Authentication is required to run Ettercap</message> name>ettercap< /icon_name> allow_any> auth_admin< /allow_ any> allow_inactive> auth_admin< /allow_ inactive> allow_active> auth_admin< /allow_ active> freedesktop. policykit. exec.path" >@INSTALL_ BINDIR@ /ettercap< /annotate> freedesktop. policykit. exec.allow_ gui">true< /annotate>
<message>
<icon_
<defaults>
<
<
<
</defaults>
<annotate key="org.
<annotate key="org.
</action>
</policyconfig>
so, as upstream, I don't know what to do :(