Commit baedc80e authored by David Zeuthen's avatar David Zeuthen

Update docs

Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
parent fc2bb7af
......@@ -6,7 +6,6 @@ if MAN_PAGES_ENABLED
man_MANS = \
polkit.8 \
polkitd.8 \
pklocalauthority.8 \
pkexec.1 \
pkcheck.1 \
pkaction.1 \
......@@ -21,7 +20,6 @@ endif # MAN_PAGES_ENABLED
EXTRA_DIST = \
polkit.xml \
polkitd.xml \
pklocalauthority.xml \
pkexec.xml \
pkcheck.xml \
pkaction.xml \
......
......@@ -56,7 +56,7 @@
<title>DESCRIPTION</title>
<para>
<command>pkaction</command> is used to obtain information about registered
PolicyKit actions. If called with <option>--action-id</option> then all
polkit actions. If called with <option>--action-id</option> then all
actions are displayed. Otherwise the action <replaceable>action</replaceable>.
If called without the <option>--verbose</option> option only the name
of the action is shown. Otherwise details about the actions are shown.
......
......@@ -103,7 +103,7 @@
temporary authorizations for the current session.
</para>
<para>
This command is a simple wrapper around the PolicyKit D-Bus interface; see the
This command is a simple wrapper around the polkit D-Bus interface; see the
D-Bus interface documentation for details.
</para>
</refsect1>
......@@ -176,7 +176,7 @@ KEY3=VALUE3
<refsect1 id="pkcheck-auth-agent"><title>AUTHENTICATION AGENT</title>
<para>
<command>pkcheck</command>, like any other PolicyKit
<command>pkcheck</command>, like any other polkit
application, will use the authentication agent registered for
the process in question. However, if no authentication agent is
available, then <command>pkcheck</command> can register its own
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -18,7 +18,7 @@
<refnamediv>
<refname>polkitd</refname>
<refpurpose>PolicyKit daemon</refpurpose>
<refpurpose>The polkit system daemon</refpurpose>
</refnamediv>
<refsynopsisdiv>
......
This diff is collapsed.
docs/polkit-architecture.png

44.3 KB | W: | H:

docs/polkit-architecture.png

62 KB | W: | H:

docs/polkit-architecture.png
docs/polkit-architecture.png
docs/polkit-architecture.png
docs/polkit-architecture.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -61,7 +61,6 @@ content_files = \
docbook-interface-org.freedesktop.PolicyKit1.AuthenticationAgent.xml \
../man/polkit.xml \
../man/polkitd.xml \
../man/pklocalauthority.xml \
../man/pkcheck.xml \
../man/pkaction.xml \
../man/pkexec.xml \
......@@ -73,9 +72,6 @@ HTML_IMAGES = \
../polkit-architecture.png \
../polkit-authentication-agent-example.png \
../polkit-authentication-agent-example-wheel.png \
../pkexec-bash.png \
../pkexec-frobnicate.png \
../pkexec-frobnicate-da.png \
$(NULL)
# Extra options to supply to gtkdoc-fixref
......
......@@ -68,7 +68,6 @@
<xi:include href="../man/pkcheck.xml"/>
<xi:include href="../man/pkaction.xml"/>
<xi:include href="../man/pkexec.xml"/>
<xi:include href="../man/pklocalauthority.xml"/>
<xi:include href="../man/pkttyagent.xml"/>
</part>
......
......@@ -668,11 +668,12 @@ main (int argc, char *argv[])
g_assert (action_id != NULL);
details = polkit_details_new ();
polkit_details_insert (details, "user", pw->pw_name);
if (pw->pw_gecos != NULL && strlen (pw->pw_gecos) > 0)
s = g_strdup_printf ("%s (%s)", pw->pw_gecos, pw->pw_name);
else
s = g_strdup_printf ("%s", pw->pw_name);
polkit_details_insert (details, "user", s);
polkit_details_insert (details, "user_full", s);
g_free (s);
polkit_details_insert (details, "program", path);
polkit_details_insert (details, "command_line", command_line);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment