af6b7de546
Merge several patches from upstream to fix CVE-2011-1485. ok jasper@
39 lines
2.2 KiB
Plaintext
39 lines
2.2 KiB
Plaintext
$OpenBSD: patch-docs_man_pkexec_xml,v 1.2 2011/04/28 13:09:07 ajacoutot Exp $
|
|
--- docs/man/pkexec.xml.orig Thu Mar 3 18:22:50 2011
|
|
+++ docs/man/pkexec.xml Wed Apr 27 16:10:43 2011
|
|
@@ -146,14 +146,14 @@
|
|
<refsect1 id="pkexec-example"><title>EXAMPLE</title>
|
|
<para>
|
|
To specify what kind of authorization is needed to execute the
|
|
- program <filename>/usr/bin/pk-example-frobnicate</filename> as
|
|
+ program <filename>${PREFIX}/bin/pk-example-frobnicate</filename> as
|
|
another user, simply write an action definition file like this
|
|
</para>
|
|
<programlisting>
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../src/examples/org.freedesktop.policykit.examples.pkexec.policy"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
|
<para>
|
|
and drop it in the
|
|
- <filename>/usr/share/polkit-1/actions</filename> directory under
|
|
+ <filename>${PREFIX}/share/polkit-1/actions</filename> directory under
|
|
a suitable name (e.g. matching the namespace of the action).
|
|
Note that in addition to specifying the program, the
|
|
authentication message, description, icon and defaults can be
|
|
@@ -188,7 +188,7 @@
|
|
| Password: [__________________________________] |
|
|
| |
|
|
| [V] Details: |
|
|
-| Command: /usr/bin/pk-example-frobnicate |
|
|
+| Command: ${PREFIX}/bin/pk-example-frobnicate |
|
|
| Run As: Super User (root) |
|
|
| Action: org.fd.pk.example.pkexec.run-frobnicate |
|
|
| Vendor: Examples for the PolicyKit Project |
|
|
@@ -222,7 +222,7 @@
|
|
| |
|
|
| [V] Detaljer: |
|
|
| Bruger: Super User (root) |
|
|
-| Program: /usr/bin/pk-example-frobnicate |
|
|
+| Program: ${PREFIX}/bin/pk-example-frobnicate |
|
|
| Handling: org.fd.pk.example.pkexec.run-frobnicate |
|
|
| Vendor: Examples for the PolicyKit Project |
|
|
| |
|