...
 
Commits (207)
((c-mode . ((indent-tabs-mode . nil)))))
*.o
.deps
/*.bak
/*.gcda
/*.gcno
/*.orig
/*.rej
/*.tab.c
/*~
/.*.sw[nop]
/.dirstamp
/.gitignore
/GPATH
/GRTAGS
/GSYMS
/GTAGS
/ID
/Makefile
/Makefile.in
/TAGS
/autom4te.cache
/config.cache
/config.h
/config.log
/config.lt
/config.status
/config.status.lineno
/configure
/configure.lineno
/intltool-extract.in
/intltool-merge.in
/intltool-update.in
/libtool
/po/*.gmo
/po/*.header
/po/*.mo
/po/*.sed
/po/*.sin
/po/.intltool-merge-cache
/po/Makefile
/po/Makefile.in
/po/Makefile.in.in
/po/Makefile.in.in~
/po/Makevars.template
/po/POTFILES
/po/Rules-quot
/po/polkit-1.pot
/po/stamp-it
/so_locations
/stamp-h1
/tags
......@@ -91,3 +91,13 @@ Coding Style
heuristically parse a file and accept not-well-formed
data). Avoiding heuristics is also important for security reasons;
if it looks funny, ignore it (or exit, or disconnect).
Code of Conduct
===
As with other projects hosted on freedesktop.org, Polkit follows its
Code of Conduct, based on the Contributor Covenant. Please conduct
yourself in a respectful and civilized manner when using the above
mailing lists, bug trackers, etc:
https://www.freedesktop.org/wiki/CodeOfConduct
## Process this file with automake to produce Makefile.in
SUBDIRS = actions data src docs po test
SUBDIRS = actions data src docs po
if BUILD_TEST
SUBDIRS += test
endif
NULL =
......@@ -30,3 +34,5 @@ publish-docs :
clean-local :
rm -f *~
-include $(top_srcdir)/git.mk
This diff is collapsed.
......@@ -22,6 +22,22 @@ To verify the authenticity of the compressed tarball, use this command
BUGS and DEVELOPMENT
====================
Please report bugs via the freedesktop.org bugzilla at
Please report non-security bugs via the freedesktop.org bugzilla at
https://bugs.freedesktop.org/enter_bug.cgi?product=PolicyKit
SECURITY ISSUES
===============
polkit uses the same mechanism for reporting security issues as dbus,
the most recent copy of instructions can be found in the DBus git
repository:
http://cgit.freedesktop.org/dbus/dbus/tree/HACKING
A copy of the instructions as of 2015-06-04:
If you find a security vulnerability that is not known to the public,
please report it privately to dbus-security@lists.freedesktop.org
or by reporting a freedesktop.org bug that is marked as
restricted to the "D-BUS security group".
......@@ -14,3 +14,5 @@ clean-local :
DISTCLEANFILES = org.freedesktop.policykit.policy
EXTRA_DIST = org.freedesktop.policykit.policy.in
-include $(top_srcdir)/git.mk
This diff is collapsed.
This diff is collapsed.
......@@ -36,6 +36,11 @@ pkgconfig_DATA = polkit-gobject-1.pc polkit-agent-1.pc
# ----------------------------------------------------------------------------------------------------
itsdir = $(datadir)/gettext/its
dist_its_DATA = polkit.loc polkit.its
# ----------------------------------------------------------------------------------------------------
systemdservice_in_files = polkit.service.in
if HAVE_SYSTEMD
......@@ -60,3 +65,5 @@ EXTRA_DIST = \
clean-local :
rm -f *~ $(service_DATA) $(dbusconf_DATA) $(systemdservice_DATA)
-include $(top_srcdir)/git.mk
......@@ -8,7 +8,19 @@
<annotation name="org.gtk.EggDBus.DocString" value="<para>This D-Bus interface is used for communication between the system-wide PolicyKit daemon and one or more authentication agents each running in a user session.</para><para>An authentication agent must implement this interface and register (passing the object path of the object implementing the interface) using the org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent() and org.freedesktop.PolicyKit1.Authority.UnregisterAuthenticationAgent() methods on the #org.freedesktop.PolicyKit1.Authority interface of the PolicyKit daemon.</para>"/>
<method name="BeginAuthentication">
<annotation name="org.gtk.EggDBus.DocString" value="<para>Called by the PolicyKit daemon when the authentication agent needs the user to authenticate as one of the identities in @identities for the action with the identifier @action_id.</para><para>Upon succesful authentication, the authentication agent must invoke the org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse() method on the #org.freedesktop.PolicyKit1.Authority interface of the PolicyKit daemon before returning.</para><para>If the user dismisses the authentication dialog, the authentication agent should return an error.</para>"/>
<annotation name="org.gtk.EggDBus.DocString" value="<para>Called
by the PolicyKit daemon when the authentication agent needs the
user to authenticate as one of the identities in @identities for
the action with the identifier @action_id.</para><para>This
authentication is normally achieved via the
PolkitAgentSession API, which invokes a private
setuid helper process to verify the authentication. When
successful, it calls the
org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse2()
method on the #org.freedesktop.PolicyKit1.Authority interface of
the PolicyKit daemon before returning. If the user dismisses the
authentication dialog, the authentication agent should return an
error.</para>"/>
<arg name="action_id" direction="in" type="s">
<annotation name="org.gtk.EggDBus.DocString" value="The identifier for the action that the user is authentication for."/>
......
......@@ -283,7 +283,7 @@
<!-- ---------------------------------------------------------------------------------------------------- -->
<method name="RegisterAuthenticationAgent">
<annotation name="org.gtk.EggDBus.DocString" value="<para>Register an authentication agent.</para><para>Note that current versions of PolicyKit will only work if @session_id is set to the empty string. In the future it might work for non-empty strings if the caller is sufficiently privileged.</para>"/>
<annotation name="org.gtk.EggDBus.DocString" value="<para>Register an authentication agent.</para><para>Note that this should be called by the same effective UID which will be passed to org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse2().</para>"/>
<arg name="subject" direction="in" type="(sa{sv})">
<annotation name="org.gtk.EggDBus.Type" value="Subject"/>
......@@ -313,7 +313,32 @@
</method>
<method name="AuthenticationAgentResponse">
<annotation name="org.gtk.EggDBus.DocString" value="Method for authentication agents to invoke on successful authentication. This method will fail unless a sufficiently privileged caller invokes it."/>
<annotation name="org.gtk.EggDBus.DocString" value="Method for authentication agents to invoke on successful
authentication, intended only for use by a privileged helper process
internal to polkit. This method will fail unless a sufficiently privileged
caller invokes it. Deprecated in favor of org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse2."/>
<arg name="cookie" direction="in" type="s">
<annotation name="org.gtk.EggDBus.DocString" value="The cookie identifying the authentication request that was passed to the authentication agent."/>
</arg>
<arg name="identity" direction="in" type="(sa{sv})">
<annotation name="org.gtk.EggDBus.Type" value="Identity"/>
<annotation name="org.gtk.EggDBus.DocString" value="A #Identity struct describing what identity was authenticated."/>
</arg>
</method>
<method name="AuthenticationAgentResponse2">
<annotation name="org.gtk.EggDBus.DocString" value="Method for authentication agents to invoke on successful
authentication, intended only for use by a privileged helper process
internal to polkit. This method will fail unless a sufficiently privileged
caller invokes it. Note this method was added in 0.114, and should be preferred over org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse()
as it fixes a security issue."/>
<arg name="uid" direction="in" type="u">
<annotation name="org.gtk.EggDBus.DocString" value="The real uid of the agent. Normally set by the setuid helper program.
Must match the effective UID of the caller of org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent()."/>
</arg>
<arg name="cookie" direction="in" type="s">
<annotation name="org.gtk.EggDBus.DocString" value="The cookie identifying the authentication request that was passed to the authentication agent."/>
......
......@@ -11,3 +11,6 @@ Version: @VERSION@
Libs: -L${libdir} -lpolkit-gobject-1
Cflags: -I${includedir}/polkit-1
Requires: gio-2.0 >= 2.18 glib-2.0 >= 2.18
# Programs using pkcheck can use this to determine
# whether or not it can be passed a uid.
pkcheck_supports_uid=true
<?xml version="1.0"?>
<its:rules xmlns:its="http://www.w3.org/2005/11/its"
version="2.0">
<its:translateRule selector="//*" translate="no"/>
<its:translateRule selector="//action/description |
//action/message"
translate="yes"/>
</its:rules>
<?xml version="1.0"?>
<locatingRules>
<locatingRule name="polkit policy" pattern="*.policy">
<documentRule localName="policyconfig" target="polkit.its"/>
</locatingRule>
</locatingRules>
......@@ -2,3 +2,5 @@
SUBDIRS = man polkit
EXTRA_DIST = version.xml.in
-include $(top_srcdir)/git.mk
......@@ -28,3 +28,5 @@ EXTRA_DIST = \
clean-local:
rm -f *~ *.1 *.8
-include $(top_srcdir)/git.mk
......@@ -56,7 +56,7 @@
<title>DESCRIPTION</title>
<para>
<command>pkaction</command> is used to obtain information about registered
polkit actions. If called with <option>--action-id</option> then all
polkit actions. If called without <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.
......
......@@ -55,6 +55,9 @@
<arg choice="plain">
<replaceable>pid,pid-start-time</replaceable>
</arg>
<arg choice="plain">
<replaceable>pid,pid-start-time,uid</replaceable>
</arg>
</group>
</arg>
<arg choice="plain">
......@@ -90,7 +93,7 @@
<title>DESCRIPTION</title>
<para>
<command>pkcheck</command> is used to check whether a process, specified by
either <option>--process</option> or <option>--system-bus-name</option>,
either <option>--process</option> (see below) or <option>--system-bus-name</option>,
is authorized for <replaceable>action</replaceable>. The <option>--detail</option>
option can be used zero or more times to pass details about <replaceable>action</replaceable>.
If <option>--allow-user-interaction</option> is passed, <command>pkcheck</command> blocks
......@@ -122,33 +125,33 @@ KEY1=VALUE1
KEY2=VALUE2
KEY3=VALUE3
...</programlisting>
Octects that are not in [a-zA-Z0-9_] are escaped using octal codes prefixed
Octets that are not in [a-zA-Z0-9_] are escaped using octal codes prefixed
with <emphasis>\</emphasis>.
For example, the UTF-8 string <emphasis>føl,你好</emphasis> will be printed
as <emphasis>f\303\270l\54\344\275\240\345\245\275</emphasis>.
</para>
<para>
If the specificied process is not
If the specified process is not
authorized, <command>pkcheck</command> exits with a return value
of 1 and a diagnostic message is printed on standard error. Details
are printed on standard output.
</para>
<para>
If the specificied process is not
If the specified process is not
authorized because no suitable authentication agent is available or if the
<option>--allow-user-interaction</option> wasn't passed, <command>pkcheck</command>
exits with a return value of 2 and a diagnostic message is printed on standard error.
Details are printed on standard output.
</para>
<para>
If the specificied process is not authorized because the
If the specified process is not authorized because the
authentication dialog / request was dismissed by the user,
<command>pkcheck</command> exits with a return value of 3 and a
diagnostic message is printed on standard error. Details are
printed on standard output.
</para>
<para>
If an error occured while checking for authorization, <command>pkcheck</command> exits
If an error occurred while checking for authorization, <command>pkcheck</command> exits
with a return value of 127 with a diagnostic message printed on standard error.
</para>
<para>
......@@ -160,15 +163,23 @@ KEY3=VALUE3
<refsect1 id="pkcheck-notes">
<title>NOTES</title>
<para>
Since process identifiers can be recycled, the caller should always use
<replaceable>pid,pid-start-time</replaceable> to specify the process
to check for authorization when using the <option>--process</option> option.
The value of <replaceable>pid-start-time</replaceable>
can be determined by consulting e.g. the
Do not use either the bare <replaceable>pid</replaceable> or
<replaceable>pid,start-time</replaceable> syntax forms for
<option>--process</option>. There are race conditions in both.
New code should always use
<replaceable>pid,pid-start-time,uid</replaceable>. The value of
<replaceable>start-time</replaceable> can be determined by
consulting e.g. the
<citerefentry><refentrytitle>proc</refentrytitle><manvolnum>5</manvolnum></citerefentry>
file system depending on the operating system. If only <replaceable>pid</replaceable>
is passed to the <option>--process</option> option, then <command>pkcheck</command>
will look up the start time itself but note that this may be racy.
file system depending on the operating system. If fewer than 3
arguments are passed, <command>pkcheck</command> will attempt to
look up them up internally, but note that this may be racy.
</para>
<para>
If your program is a daemon with e.g. a custom Unix domain
socket, you should determine the <replaceable>uid</replaceable>
parameter via operating system mechanisms such as
<literal>PEERCRED</literal>.
</para>
</refsect1>
......
......@@ -47,11 +47,12 @@
<refsect1 id="pkexec-description"><title>DESCRIPTION</title>
<para>
<command>pkexec</command> allows an authorized user to
execute <replaceable>PROGRAM</replaceable> as another
user. If <replaceable>username</replaceable> is not specified,
then the program will be executed as the administrative super
user, <emphasis>root</emphasis>.
<command>pkexec</command> allows an authorized user to execute
<replaceable>PROGRAM</replaceable> as another user. If
<replaceable>PROGRAM</replaceable> is not specified, the default
shell will be run. If <replaceable>username</replaceable> is
not specified, then the program will be executed as the
administrative super user, <emphasis>root</emphasis>.
</para>
</refsect1>
......
......@@ -356,7 +356,9 @@ System Context | |
<term><literal>auth_self</literal></term>
<listitem><para>Authentication by the owner of the
session that the client originates from is
required.</para></listitem>
required. Note that this is not restrictive enough for most
uses on multi-user systems; <literal>auth_admin</literal>* is
generally recommended.</para></listitem>
</varlistentry>
<varlistentry>
<term><literal>auth_admin</literal></term>
......@@ -367,7 +369,9 @@ System Context | |
<term><literal>auth_self_keep</literal></term>
<listitem><para>Like <literal>auth_self</literal> but
the authorization is kept for a brief
period (e.g. five minutes).</para></listitem>
period (e.g. five minutes). The warning about
<literal>auth_self</literal> above applies
likewise.</para></listitem>
</varlistentry>
<varlistentry>
<term><literal>auth_admin_keep</literal></term>
......@@ -890,7 +894,7 @@ polkit.addRule(function(action, subject) {
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.login1.reboot") == 0) {
try {
// user-may-reboot exits with succeess (exit code 0)
// user-may-reboot exits with success (exit code 0)
// only if the passed username is authorized
polkit.spawn(["/opt/company/bin/user-may-reboot",
subject.user]);
......@@ -913,7 +917,7 @@ polkit.addRule(function(action, subject) {
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.policykit.exec" &&
action.lookup("program") == "/usr/bin/cat") {
return polkit.Result.AUTH_SELF;
return polkit.Result.AUTH_ADMIN;
}
});
]]></programlisting>
......
......@@ -10,10 +10,13 @@ DOC_MODULE=polkit-1
DOC_MAIN_SGML_FILE=polkit-1-docs.xml
# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--ignore-headers=config.h
SCAN_OPTIONS=
# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=../../src
# Directories containing the source code.
# gtk-doc will search all .c and .h files beneath these paths
# for inline comments documenting functions and macros.
# e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk
DOC_SOURCE_DIR=$(top_srcdir)/src/polkit $(top_srcdir)/src/polkitagent
# Used for dependencies
HFILE_GLOB=$(top_srcdir)/src/polkit*/*.h
......@@ -21,11 +24,13 @@ CFILE_GLOB=$(top_srcdir)/src/polkit*/*.c
# Headers to ignore
IGNORE_HFILES= \
polkitprivate.h \
polkitagenthelperprivate.h \
$(NULL)
# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
INCLUDES = \
AM_CPPFLAGS = \
$(GLIB_CFLAGS) \
-I$(top_srcdir)/src/polkit \
-I$(top_builddir)/src/polkit \
......@@ -45,6 +50,10 @@ MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=polkit
# Extra options to supply to gtkdoc-mktmpl
MKTMPL_OPTIONS=
# Extra options to supply to gtkdoc-mkhtml - workaround for incorrect check
# in gtk-doc-1.18
MKHTML_OPTIONS=--path=$(srcdir)
# Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
content_files = \
overview.xml \
......@@ -58,6 +67,7 @@ content_files = \
../man/pkaction.xml \
../man/pkexec.xml \
../man/pkttyagent.xml \
../../COPYING \
$(NULL)
# Images to copy into HTML directory
......@@ -93,3 +103,5 @@ CLEANFILES += *~ \
-rf html xml \
$(NULL)
-include $(top_srcdir)/git.mk
......@@ -47,10 +47,13 @@ BeginAuthentication (IN String action_id,
identifier <parameter>action_id</parameter>.</para><para>Upon
succesful authentication, the authentication agent must invoke
the <link
linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse">AuthenticationAgentResponse()</link>
linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse2">AuthenticationAgentResponse2()</link>
method on the <link
linkend="eggdbus-interface-org.freedesktop.PolicyKit1.Authority">org.freedesktop.PolicyKit1.Authority</link>
interface of the PolicyKit daemon before returning.
interface of the PolicyKit daemon before returning. This is normally
achieved via the <link linkend="PolkitAgentSession">PolkitAgentSession</link>
API, which invokes a private setuid helper process to verify the
authentication.
</para>
<para>
The authentication agent should not return until after authentication is complete.
......
......@@ -42,6 +42,8 @@ Structure <link linkend="eggdbus-struct-TemporaryAuthorization">TemporaryAuth
IN String object_path)
<link linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse">AuthenticationAgentResponse</link> (IN String cookie,
IN <link linkend="eggdbus-struct-Identity">Identity</link> identity)
<link linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse2">AuthenticationAgentResponse2</link> (IN uint32 uid, IN String cookie,
IN <link linkend="eggdbus-struct-Identity">Identity</link> identity)
<link linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations">EnumerateTemporaryAuthorizations</link> (IN <link linkend="eggdbus-struct-Subject">Subject</link> subject,
OUT Array&lt;<link linkend="eggdbus-struct-TemporaryAuthorization">TemporaryAuthorization</link>&gt; temporary_authorizations)
<link linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.RevokeTemporaryAuthorizations">RevokeTemporaryAuthorizations</link> (IN <link linkend="eggdbus-struct-Subject">Subject</link> subject)
......@@ -699,7 +701,7 @@ RegisterAuthenticationAgent (IN <link linkend="eggdbus-struct-Subject">Subject<
IN String object_path)
</programlisting>
<para>
<para>Register an authentication agent.</para><para>Note that current versions of PolicyKit will only work if <parameter>session_id</parameter> is set to the empty string. In the future it might work for non-empty strings if the caller is sufficiently privileged.</para>
<para>Register an authentication agent.</para><para>Note that this should be called by same effective UID which will be passed to <link linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse2">AuthenticationAgentResponse2()</link>.</para>
</para>
<variablelist role="params">
<varlistentry>
......@@ -777,9 +779,55 @@ AuthenticationAgentResponse (IN String cookie,
IN <link linkend="eggdbus-struct-Identity">Identity</link> identity)
</programlisting>
<para>
Method for authentication agents to invoke on successful authentication. This method will fail unless a sufficiently privileged caller invokes it.
Method for authentication agents to invoke on successful
authentication, intended only for use by a privileged helper process
internal to polkit. This method will fail unless a sufficiently privileged
+caller invokes it. Deprecated in favor of <link linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse2">AuthenticationAgentResponse2()</link>.
</para>
<variablelist role="params">
<varlistentry>
<term><literal>IN String <parameter>cookie</parameter></literal>:</term>
<listitem>
<para>
The cookie identifying the authentication request that was passed to the authentication agent.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>IN <link linkend="eggdbus-struct-Identity">Identity</link> <parameter>identity</parameter></literal>:</term>
<listitem>
<para>
A <link linkend="eggdbus-struct-Identity">Identity</link> struct describing what identity was authenticated.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2 role="function" id="eggdbus-method-org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse2">
<title>AuthenticationAgentResponse2 ()</title>
<programlisting>
AuthenticationAgentResponse2 (IN uint32 uid,
IN String cookie,
IN <link linkend="eggdbus-struct-Identity">Identity</link> identity)
</programlisting>
<para>
Method for authentication agents to invoke on successful
authentication, intended only for use by a privileged helper process
internal to polkit. This method will fail unless a sufficiently privileged
caller invokes it. Note this method was introduced in 0.114 and should be
preferred over <link linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse">AuthenticationAgentResponse()</link>
as it fixes a security issue.
</para>
<variablelist role="params">
<varlistentry>
<term><literal>IN uint32 <parameter>uid</parameter></literal>:</term>
<listitem>
<para>
The user id of the agent; normally this is the owner of the parent pid
of the process that invoked the internal setuid helper.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>IN String <parameter>cookie</parameter></literal>:</term>
<listitem>
......
......@@ -72,6 +72,24 @@
</para>
</listitem>
<listitem>
<para>
<emphasis role='bold'>DO</emphasis> consider the impact of the
chosen implicit authorizations on multi-user systems. Generally,
ordinary users should be able to neither modify important system's
behavior for other users, nor view other users' private data. If
your application needs an authorization framework at all, it is
fairly likely that the default configuration should deny
authorization in at least some cases. Default to using
<literal>auth_admin</literal>* instead of
<literal>auth_self</literal>*. (On single-user desktops, the
single user is typically configured as a polkit administrator, so
the two variants behave equally. On multi-user systems,
non-administrator users will be restricted by the default
configuration.)
</para>
</listitem>
<listitem>
<para>
<emphasis role='bold'>DO</emphasis> pass polkit variables
......@@ -261,8 +279,10 @@
that can be used together with
<ulink url="http://developer.gnome.org/gtk3/unstable/GtkLockButton.html"><type>GtkLockButton</type></ulink>.
Note that for <type>GtkLockButton</type> to work well, the
polkit action backing it should use <literal>auth_self_keep</literal> or
<literal>auth_admin_keep</literal> for its implicit authorizations.
polkit action backing it should use <literal>auth_admin_keep</literal>
for its implicit authorizations (or more rarely
<literal>auth_self_keep</literal> for services which don't affect other
users).
This is often used to implement an <ulink
url="http://developer.gnome.org/hig-book/3.2/hig-book.html#windows-instant-apply">instant
apply</ulink> paradigm whereby the user
......@@ -294,16 +314,18 @@
<para>
Authentication agents are provided by desktop environments. When
an user session starts, the agent registers with the polkit
Authority using
the <link linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent">RegisterAuthenticationAgent()</link>
Authority using the <link
linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent">RegisterAuthenticationAgent()</link>
method. When services are needed, the authority will invoke
methods on
the <link linkend="eggdbus-interface-org.freedesktop.PolicyKit1.AuthenticationAgent">org.freedesktop.PolicyKit1.AuthenticationAgent</link>
methods on the <link
linkend="eggdbus-interface-org.freedesktop.PolicyKit1.AuthenticationAgent">org.freedesktop.PolicyKit1.AuthenticationAgent</link>
D-Bus interface. Once the user is authenticated, (a privileged
part of) the agent invokes
the <link linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse">AuthenticationAgentResponse()</link>
method. Note that the polkit Authority itself does not care
how the agent authenticates the user.
part of) the agent invokes the <link
linkend="eggdbus-method-org.freedesktop.PolicyKit1.Authority.AuthenticationAgentResponse2">AuthenticationAgentResponse2()</link>
method. This method should be treated as an internal
implementation detail, and callers should use the
<link linkend="PolkitAgentSession">PolkitAgentSession</link> API to invoke
it, which currently uses a setuid helper program.
</para>
<para>
The <link linkend="ref-authentication-agent-api">libpolkit-agent-1</link>
......
......@@ -69,6 +69,8 @@
<xi:include href="xml/tree_index.sgml"/>
</chapter>
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
<index id="polit-index">
<title>Index</title>
</index>
......
......@@ -25,6 +25,7 @@ PolkitCheckAuthorizationFlags
polkit_authority_get_async
polkit_authority_get_finish
polkit_authority_get_sync
polkit_authority_get
polkit_authority_get_owner
polkit_authority_get_backend_name
polkit_authority_get_backend_version
......@@ -65,6 +66,7 @@ polkit_authority_get_type
POLKIT_AUTHORITY_CLASS
POLKIT_IS_AUTHORITY_CLASS
POLKIT_AUTHORITY_GET_CLASS
polkit_check_authorization_flags_get_type
</SECTION>
<SECTION>
......@@ -173,6 +175,7 @@ polkit_unix_process_set_start_time
polkit_unix_process_get_start_time
polkit_unix_process_set_uid
polkit_unix_process_get_uid
polkit_unix_process_get_owner
<SUBSECTION Standard>
PolkitUnixProcessClass
POLKIT_UNIX_PROCESS
......@@ -233,6 +236,9 @@ polkit_action_description_get_implicit_any
polkit_action_description_get_implicit_inactive
polkit_action_description_get_implicit_active
polkit_action_description_get_annotation
polkit_action_description_get_annotation_keys
polkit_implicit_authorization_to_string
polkit_implicit_authorization_from_string
<SUBSECTION Standard>
PolkitActionDescriptionClass
POLKIT_ACTION_DESCRIPTION
......@@ -242,23 +248,6 @@ polkit_action_description_get_type
POLKIT_ACTION_DESCRIPTION_CLASS
POLKIT_IS_ACTION_DESCRIPTION_CLASS
POLKIT_ACTION_DESCRIPTION_GET_CLASS
</SECTION>
<SECTION>
<FILE>polkitcheckauthorizationflags</FILE>
POLKIT_TYPE_CHECK_AUTHORIZATION_FLAGS
PolkitCheckAuthorizationFlags
<SUBSECTION Standard>
polkit_check_authorization_flags_get_type
</SECTION>
<SECTION>
<FILE>polkitimplicitauthorization</FILE>
POLKIT_TYPE_IMPLICIT_AUTHORIZATION
PolkitImplicitAuthorization
polkit_implicit_authorization_to_string
polkit_implicit_authorization_from_string
<SUBSECTION Standard>
polkit_implicit_authorization_get_type
</SECTION>
......@@ -319,6 +308,7 @@ PolkitAgentRegisterFlags
polkit_agent_listener_register
polkit_agent_listener_register_with_options
polkit_agent_listener_unregister
polkit_agent_register_listener
<SUBSECTION Standard>
POLKIT_AGENT_LISTENER
POLKIT_AGENT_IS_LISTENER
......@@ -355,11 +345,11 @@ polkit_temporary_authorization_get_time_obtained
polkit_temporary_authorization_get_time_expires
<SUBSECTION Standard>
POLKIT_TEMPORARY_AUTHORIZATION
POLKIT_TEMPORARY_IS_AUTHORIZATION
POLKIT_TEMPORARY_TYPE_AUTHORIZATION
POLKIT_IS_TEMPORARY_AUTHORIZATION
POLKIT_TYPE_TEMPORARY_AUTHORIZATION
polkit_temporary_authorization_get_type
POLKIT_TEMPORARY_AUTHORIZATION_CLASS
POLKIT_TEMPORARY_IS_AUTHORIZATION_CLASS
POLKIT_IS_TEMPORARY_AUTHORIZATION_CLASS
POLKIT_TEMPORARY_AUTHORIZATION_GET_CLASS
</SECTION>
......
This diff is collapsed.
# please keep this list sorted alphabetically
#
cs
da
de
hr
hu
id
it
pl
pt_BR
sk
sv
tr
uk
zh_CN
zh_TW
......@@ -3,4 +3,7 @@
[encoding: UTF-8]
actions/org.freedesktop.policykit.policy.in
src/examples/org.freedesktop.policykit.examples.pkexec.policy.in
src/programs/pkaction.c
src/programs/pkcheck.c
src/programs/pkexec.c
src/programs/pkttyagent.c
# Danish translations for PolicyKit.
# Copyright (C) 2013 SUSE Linux GmbH
# This file is distributed under the same license as the PolicyKit package.
#
# Tomáš Chvátal <tchvatal@suse.cz>, 2013.
# Marek Černocký <marek@manet.cz>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: polkit\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-09-25 16:18+0200\n"
"PO-Revision-Date: 2018-09-25 16:34+0200\n"
"Last-Translator: Marek Černocký <marek@manet.cz>\n"
"Language-Team: čeština <gnome-cs-list@gnome.org>\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Gtranslator 2.91.7\n"
#: ../actions/org.freedesktop.policykit.policy.in.h:1
msgid "Run a program as another user"
msgstr "Spustit program jako jiný uživatel"
#: ../actions/org.freedesktop.policykit.policy.in.h:2
msgid "Authentication is required to run a program as another user"
msgstr "Pro spuštění programu pod jiným uživatelem je vyžadováno ověření"
#: ../src/examples/org.freedesktop.policykit.examples.pkexec.policy.in.h:1
msgid "Run the polkit example program Frobnicate"
msgstr "Spustit ukázkový program polkit Frobnicate"
#: ../src/examples/org.freedesktop.policykit.examples.pkexec.policy.in.h:2
msgid ""
"Authentication is required to run the polkit example program Frobnicate "
"(user=$(user), user.gecos=$(user.gecos), user.display=$(user.display), "
"program=$(program), command_line=$(command_line))"
msgstr ""
"Pro spuštění ukázkového programu polkit Frobnicate je vyžadováno ověření "
"(user=$(user), user.gecos=$(user.gecos), user.display=$(user.display), "
"program=$(program), command_line=$(command_line))"
#: ../src/programs/pkaction.c:101
msgid "Only output information about ACTION"
msgstr "Pouze vypsat informace o ČINNOSTI"
#: ../src/programs/pkaction.c:101
msgid "ACTION"
msgstr "ČINNOST"
#: ../src/programs/pkaction.c:105
msgid "Output detailed action information"
msgstr "Vypsat podrobné informace o činnosti"
#: ../src/programs/pkaction.c:109 ../src/programs/pkttyagent.c:62
msgid "Show version"
msgstr "Vypsat verzi"
#: ../src/programs/pkaction.c:132
msgid "[--action-id ACTION]"
msgstr "[--action-id ČINNOST]"
#: ../src/programs/pkaction.c:133 ../src/programs/pkttyagent.c:83
#, c-format
msgid ""
"Report bugs to: %s\n"
"%s home page: <%s>"
msgstr ""
"Chyby hlaste na: %s\n"
"%s domovská stránka: <%s>"
#: ../src/programs/pkaction.c:147 ../src/programs/pkcheck.c:493
#: ../src/programs/pkttyagent.c:97
#, c-format
msgid "%s: Unexpected argument `%s'\n"
msgstr "%s: neočekávaný argument „%s“\n"
#: ../src/programs/pkcheck.c:36
#, c-format
msgid ""
"Usage:\n"
" pkcheck [OPTION...]\n"
"\n"
"Help Options:\n"
" -h, --help Show help options\n"
"\n"
"Application Options:\n"
" -a, --action-id=ACTION Check authorization to perform ACTION\n"
" -u, --allow-user-interaction Interact with the user if necessary\n"
" -d, --details=KEY VALUE Add (KEY, VALUE) to information about "
"the action\n"
" --enable-internal-agent Use an internal authentication agent if "
"necessary\n"
" --list-temp List temporary authorizations for "
"current session\n"
" -p, --process=PID[,START_TIME,UID] Check authorization of specified "
"process\n"
" --revoke-temp Revoke all temporary authorizations for "
"current session\n"
" -s, --system-bus-name=BUS_NAME Check authorization of owner of "
"BUS_NAME\n"
" --version Show version\n"
"\n"
"Report bugs to: %s\n"
"%s home page: <%s>\n"
msgstr ""
"Použití:\n"
" pkcheck [VOLBY…]\n"
"\n"
"Volby nápovědy:\n"
" -h, --help Zobrazit nápovědu k volbám\n"
"\n"
"Volby aplikace:\n"
" -a, --action-id=ČINNOST Zkontrolovat oprávnění pro vykonání "
"ČINNOSTI\n"
" -u, --allow-user-interaction Povolit interakci s uživatelem, pokud "
"je potřeba\n"
" -d, --details=KLÍČ HODNOTA Přidat (KLÍČ, HODNOTA) do informací o "
"činnosti\n"
" --enable-internal-agent Použít interního ověřovacího agenta, "
"pokud je potřeba\n"
" --list-temp Vypsat dočasná oprávnění pro aktuální "
"sezení\n"
" -p, --process=PID[,ČAS_SPUŠTĚNÍ] Zkontrolovat oprávnění vybraného "
"procesu\n"
" --revoke-temp Zrušit všechna dočasná oprávnění pro "
"aktuální sezení\n"
" -s, --system-bus-name=NÁZEV_SBĚRNICE\n"
" Zkontrolovat oprávnění vlastníka "
"sběrnice NÁZEV_SBĚRNICE\n"
" --version Vypsat verzi\n"
"\n"
"Chyby hlaste na: %s\n"
"%s domovská stránka: <%s>\n"
#: ../src/programs/pkcheck.c:393 ../src/programs/pkcheck.c:426
#: ../src/programs/pkcheck.c:438
#, c-format
msgid "%s: Argument expected after `%s'\n"
msgstr "%s: po „%s“ je očekáván argument\n"
#: ../src/programs/pkcheck.c:416
#, c-format
msgid "%s: Invalid --process value `%s'\n"
msgstr "%s: neplatná hodnota „%s“ pro „--process“\n"
#: ../src/programs/pkcheck.c:453 ../src/programs/pkcheck.c:462
#, c-format
msgid "%s: Two arguments expected after `--detail'\n"
msgstr "%s: po „--detail“ jsou očekávány dva argumenty\n"
#: ../src/programs/pkcheck.c:523
#, c-format
msgid "%s: Subject not specified\n"
msgstr "%s: není určen předmět\n"
#. Translators: message shown when trying to run a program as root. Do not
#. * translate the $(program) fragment - it will be expanded to the path
#. * of the program e.g. /bin/bash.
#.
#: ../src/programs/pkexec.c:790
msgid "Authentication is needed to run `$(program)' as the super user"
msgstr "Pro spuštění „$(program)“ pod účtem správce je vyžadováno ověření"
#. Translators: message shown when trying to run a program as another user.
#. * Do not translate the $(program) or $(user) fragments - the former will
#. * be expanded to the path of the program e.g. "/bin/bash" and the latter
#. * to the user e.g. "John Doe (johndoe)" or "johndoe".
#.
#: ../src/programs/pkexec.c:800
msgid "Authentication is needed to run `$(program)' as user $(user.display)"
msgstr ""
"Pro spuštění „$(program)“ pod uživatelem $(user.display) je vyžadováno "
"ověření"
#: ../src/programs/pkttyagent.c:45
msgid "Don't replace existing agent if any"
msgstr "Nenahrazovat již bežícího agenta"
#: ../src/programs/pkttyagent.c:49
msgid "Close FD when the agent is registered"
msgstr "Uzavřít FD při registraci agenta"
#: ../src/programs/pkttyagent.c:49
msgid "FD"
msgstr "FD"
#: ../src/programs/pkttyagent.c:53
msgid "Register the agent for the specified process"
msgstr "Registrovat agenta pro určený proces"
#: ../src/programs/pkttyagent.c:54
msgid "PID[,START_TIME]"
msgstr "PID[,ČAS_SPUŠTĚNÍ]"
#: ../src/programs/pkttyagent.c:58
msgid "Register the agent for the owner of BUS_NAME"
msgstr "Registrovat agenta pro vlastníka sběrnice NÁZEV_SBĚRNICE"
#: ../src/programs/pkttyagent.c:58
msgid "BUS_NAME"
msgstr "NÁZEV_SBĚRNICE"
#: ../src/programs/pkttyagent.c:129
#, c-format
msgid "%s: Invalid process specifier `%s'\n"
msgstr "%s: neplatný identifikátor procesu „%s“\n"
\ No newline at end of file
# German translation for polkit.
# Copyright (C) 2015 polkit's COPYRIGHT HOLDER
# This file is distributed under the same license as the polkit package.
# Christian Kirbach <Christian.Kirbach@gmail.com>, 2015.
# Wolfgang Stöggl <c72578@yahoo.de>, 2015.
#
msgid ""
msgstr ""
"Project-Id-Version: polkit master\n"
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?"
"product=PolicyKit&keywords=I18N+L10N&component=libpolkit\n"
"POT-Creation-Date: 2015-11-18 14:14+0000\n"
"PO-Revision-Date: 2015-11-18 22:03+0100\n"
"Last-Translator: Wolfgang Stoeggl <c72578@yahoo.de>\n"
"Language-Team: German <gnome-de@gnome.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.6\n"
#: ../actions/org.freedesktop.policykit.policy.in.h:1
msgid "Run a program as another user"
msgstr "Ein Programm als ein anderer Benutzer ausführen"
#: ../actions/org.freedesktop.policykit.policy.in.h:2
msgid "Authentication is required to run a program as another user"
msgstr ""
"Legitimierung ist erforderlich, um ein Programme als ein anderer Benutzer "
"auszuführen."
#: ../src/examples/org.freedesktop.policykit.examples.pkexec.policy.in.h:1
msgid "Run the polkit example program Frobnicate"
msgstr "Das polkit-Beispielprogramm Frobnicate ausführen"
#: ../src/examples/org.freedesktop.policykit.examples.pkexec.policy.in.h:2
msgid ""
"Authentication is required to run the polkit example program Frobnicate "
"(user=$(user), user.gecos=$(user.gecos), user.display=$(user.display), "
"program=$(program), command_line=$(command_line))"
msgstr ""
"Legitimierung ist erforderlich, um das polkit-Beispielprogramm Frobnicate "
"auszuführen (user=$(user), user.gecos=$(user.gecos), user.display=$(user."
"display), program=$(program), command_line=$(command_line))"
#: ../src/programs/pkaction.c:100
msgid "Only output information about ACTION"
msgstr "Nur Informationen zu AKTION ausgeben"
#: ../src/programs/pkaction.c:100
msgid "ACTION"
msgstr "AKTION"
#: ../src/programs/pkaction.c:104
msgid "Output detailed action information"
msgstr "Detaillierte Aktions-Informationen ausgeben"
#: ../src/programs/pkaction.c:108 ../src/programs/pkttyagent.c:61
msgid "Show version"
msgstr "Version anzeigen"
#: ../src/programs/pkaction.c:130
msgid "[--action-id ACTION]"
msgstr "[--action-id AKTION]"
#: ../src/programs/pkaction.c:131 ../src/programs/pkttyagent.c:81
#, c-format
msgid ""
"Report bugs to: %s\n"
"%s home page: <%s>"
msgstr ""
"Fehler melden an: %s\n"
"%s Homepage: <%s>"
#: ../src/programs/pkaction.c:145 ../src/programs/pkcheck.c:491
#: ../src/programs/pkttyagent.c:95
#, c-format
msgid "%s: Unexpected argument `%s'\n"
msgstr "%s: Unerwartetes Argument »%s«\n"
#: ../src/programs/pkcheck.c:35
#, c-format
msgid ""
"Usage:\n"
" pkcheck [OPTION...]\n"
"\n"
"Help Options:\n"
" -h, --help Show help options\n"
"\n"
"Application Options:\n"
" -a, --action-id=ACTION Check authorization to perform ACTION\n"
" -u, --allow-user-interaction Interact with the user if necessary\n"
" -d, --details=KEY VALUE Add (KEY, VALUE) to information about "
"the action\n"
" --enable-internal-agent Use an internal authentication agent if "
"necessary\n"
" --list-temp List temporary authorizations for "
"current session\n"
" -p, --process=PID[,START_TIME,UID] Check authorization of specified "
"process\n"
" --revoke-temp Revoke all temporary authorizations for "
"current session\n"
" -s, --system-bus-name=BUS_NAME Check authorization of owner of "
"BUS_NAME\n"
" --version Show version\n"
"\n"
"Report bugs to: %s\n"
"%s home page: <%s>\n"
msgstr ""
"Aufruf:\n"
" pkcheck [OPTION...]\n"
"\n"
"Hilfeoptionen:\n"
" -h, --help Hilfeoptionen anzeigen\n"
"\n"
"Programmoptionen:\n"
" -a, --action-id=ACTION Legitimierung prüfen, um AKTION "
"durchzuführen\n"
" -u, --allow-user-interaction Interaktion mit Benutzer, falls "
"erforderlich\n"
" -d, --details=KEY VALUE (KEY, VALUE) zur Information über die "
"Aktion hinzufügen\n"
" --enable-internal-agent Internen Legitimierungsagenten "
"verwenden, falls erforderlich\n"
" --list-temp Temporäre Legitimierungen für die "
"aktuelle Sitzung auflisten\n"
" -p, --process=PID[,START_TIME,UID] Legitimierung des angegebenen Prozesses "
"prüfen\n"
" --revoke-temp Alle temporären Legitimierungen der "
"aktuellen Sitzung aufheben\n"
" -s, --system-bus-name=BUS_NAME Legitimierung des Eigentümers von "
"BUS_NAME prüfen\n"
" --version Version anzeigen\n"
"\n"
"Fehler melden an: %s\n"
"%s Homepage: <%s>\n"
#: ../src/programs/pkcheck.c:391 ../src/programs/pkcheck.c:424
#: ../src/programs/pkcheck.c:436
#, c-format
msgid "%s: Argument expected after `%s'\n"
msgstr "%s: Argument erwartet nach »%s«\n"
#: ../src/programs/pkcheck.c:414
#, c-format
msgid "%s: Invalid --process value `%s'\n"
msgstr "%s: unerwarteter Wert »%s« für »--process«\n"
#: ../src/programs/pkcheck.c:451 ../src/programs/pkcheck.c:460
#, c-format
msgid "%s: Two arguments expected after `--detail'\n"
msgstr "%s: Es werden zwei Argumente nach »--detail« erwartet\n"
#: ../src/programs/pkcheck.c:521
#, c-format
msgid "%s: Subject not specified\n"
msgstr "%s: Betreff nicht angegeben\n"
#. Translators: message shown when trying to run a program as root. Do not
#. * translate the $(program) fragment - it will be expanded to the path
#. * of the program e.g. /bin/bash.
#.
#: ../src/programs/pkexec.c:794
msgid "Authentication is needed to run `$(program)' as the super user"
msgstr ""
"Legitimierung ist erforderlich, um »$(program)« als Superuser auszuführen"
#. Translators: message shown when trying to run a program as another user.
#. * Do not translate the $(program) or $(user) fragments - the former will
#. * be expanded to the path of the program e.g. "/bin/bash" and the latter
#. * to the user e.g. "John Doe (johndoe)" or "johndoe".
#.
#: ../src/programs/pkexec.c:804
msgid "Authentication is needed to run `$(program)' as user $(user.display)"
msgstr ""
"Legitimierung ist erforderlich, um »$(program)« als Benutzer $(user.display) "
"auszuführen"
#: ../src/programs/pkttyagent.c:44
msgid "Don't replace existing agent if any"
msgstr "Vorhandenen Agenten nicht ersetzen"
#: ../src/programs/pkttyagent.c:48
msgid "Close FD when the agent is registered"
msgstr "Dateideskriptor (FD) schließen, sobald der Agent registriert ist"
# file descriptor
#: ../src/programs/pkttyagent.c:48
msgid "FD"
msgstr "FD"
#: ../src/programs/pkttyagent.c:52
msgid "Register the agent for the specified process"
msgstr "Agenten des angegebenen Prozesses registrieren"
#: ../src/programs/pkttyagent.c:53
msgid "PID[,START_TIME]"
msgstr "PID[,STARTZEIT]"
#: ../src/programs/pkttyagent.c:57
msgid "Register the agent owner of BUS_NAME"
msgstr "Eigentümer des Agenten von BUS_NAME registrieren"
#: ../src/programs/pkttyagent.c:57
msgid "BUS_NAME"
msgstr "BUS_NAME"
#: ../src/programs/pkttyagent.c:127
#, c-format
msgid "%s: Invalid process specifier `%s'\n"
msgstr "%s: Ungültige Prozessangabe »%s«\n"
# Croatian translation for polkit.
# Copyright (C) 2017 polkit's COPYRIGHT HOLDER
# This file is distributed under the same license as the polkit package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: polkit master\n"
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?"
"product=PolicyKit&keywords=I18N+L10N&component=libpolkit\n"
"POT-Creation-Date: 2017-04-23 15:27+0000\n"
"PO-Revision-Date: 2017-04-23 19:27+0200\n"
"Language-Team: Croatian <hr@li.org>\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Last-Translator: gogo <trebelnik2@gmail.com>\n"
"X-Generator: Poedit 1.8.7.1\n"
#: ../actions/org.freedesktop.policykit.policy.in.h:1
msgid "Run a program as another user"
msgstr "Pokreni programe kao drugi korisnik"
#: ../actions/org.freedesktop.policykit.policy.in.h:2
msgid "Authentication is required to run a program as another user"
msgstr "Potrebna je ovjera za pokretanje programa kao drugog korisnika"
#: ../src/examples/org.freedesktop.policykit.examples.pkexec.policy.in.h:1
msgid "Run the polkit example program Frobnicate"
msgstr "Pokreni primjer PolicyKit programa Frobnicate"
#: ../src/examples/org.freedesktop.policykit.examples.pkexec.policy.in.h:2
msgid ""
"Authentication is required to run the polkit example program Frobnicate "
"(user=$(user), user.gecos=$(user.gecos), user.display=$(user.display), "
"program=$(program), command_line=$(command_line))"
msgstr ""
"Potrebna je ovjera za pokretanje PolicyKit programa Frobnicate (user="
"$(korisnik), program=$(program), command_line=$(naredbeni_redak))"
#: ../src/programs/pkaction.c:101
msgid "Only output information about ACTION"
msgstr "Samo izlazne informacije o RADNJAMA"
#: ../src/programs/pkaction.c:101
msgid "ACTION"
msgstr "RADNJA"
#: ../src/programs/pkaction.c:105
msgid "Output detailed action information"
msgstr "Opširnije izlazne informacije radnje"
#: ../src/programs/pkaction.c:109 ../src/programs/pkttyagent.c:62
msgid "Show version"
msgstr "Prikaži inačicu"
#: ../src/programs/pkaction.c:134
msgid "[--action-id ACTION]"
msgstr "[--action-id RADNJA]"
#: ../src/programs/pkaction.c:135 ../src/programs/pkttyagent.c:85
#, c-format
msgid ""
"Report bugs to: %s\n"
"%s home page: <%s>"
msgstr ""
"Prijavite greške na: %s\n"
"%s početna stranica: <%s>"
#: ../src/programs/pkaction.c:149 ../src/programs/pkcheck.c:495
#: ../src/programs/pkttyagent.c:99
#, c-format
msgid "%s: Unexpected argument `%s'\n"
msgstr "%s: Neočekivani argument '%s'\n"
#: ../src/programs/pkcheck.c:36
#, c-format
msgid ""
"Usage:\n"
" pkcheck [OPTION...]\n"
"\n"
"Help Options:\n"
" -h, --help Show help options\n"
"\n"
"Application Options:\n"
" -a, --action-id=ACTION Check authorization to perform ACTION\n"
" -u, --allow-user-interaction Interact with the user if necessary\n"
" -d, --details=KEY VALUE Add (KEY, VALUE) to information about "
"the action\n"
" --enable-internal-agent Use an internal authentication agent if "
"necessary\n"
" --list-temp List temporary authorizations for "
"current session\n"
" -p, --process=PID[,START_TIME,UID] Check authorization of specified "
"process\n"
" --revoke-temp Revoke all temporary authorizations for "
"current session\n"
" -s, --system-bus-name=BUS_NAME Check authorization of owner of "
"BUS_NAME\n"
" --version Show version\n"
"\n"
"Report bugs to: %s\n"
"%s home page: <%s>\n"
msgstr ""
"Upotreba:\n"
" pkcheck [MOGUĆNOST...]\n"
"\n"
"Mogućnosti pomoći:\n"
" -h, --help Prikaži mogućnosti pomoći\n"
"\n"
"Mogućnosti aplikacije:\n"
" -a, --action-id=RADNJA Provjeri ovjeru za pokretanje RADNJE\n"
" -u, --allow-user-interaction Djeluj s korisnikom ako je potrebno\n"
" -d, --details=KLJUČ VRIJEDNOST Dodaj (KLJUČ, VRIJEDNOST) u "
"informaciju o radnji\n"
" --enable-internal-agent Koristi unutrašnjeg agenta ovjere ako "
"je potrebno\n"
" --list-temp Prikaži privremena ovlaštenja za "
"trenutnu sesiju\n"
" -p, --process=PID[,POČETNO_VRIJEME,UID] Provjeri ovlaštenja za određeni "
"proces\n"
" --revoke-temp Opozovi sva privremena ovlaštenja za "
"trenutnu sesiju\n"
" -s, --system-bus-name=BUS_NAZIV Provjeri ovlaštenja vlasnika od "
"BUS_NAZIVA\n"
" --version Prikaži inačicu\n"
"\n"
"Prijavi greške na: %s\n"
"%s početna stranica: <%s>\n"
#: ../src/programs/pkcheck.c:395 ../src/programs/pkcheck.c:428
#: ../src/programs/pkcheck.c:440
#, c-format
msgid "%s: Argument expected after `%s'\n"
msgstr "%s: Očekivani argument nakon `%s'\n"
#: ../src/programs/pkcheck.c:418
#, c-format
msgid "%s: Invalid --process value `%s'\n"
msgstr "%s: Neispravna --process vrijednost `%s'\n"
#: ../src/programs/pkcheck.c:455 ../src/programs/pkcheck.c:464
#, c-format
msgid "%s: Two arguments expected after `--detail'\n"
msgstr "%s: Dva argumenta su očekivana nakon `--detail'\n"
#: ../src/programs/pkcheck.c:525
#, c-format
msgid "%s: Subject not specified\n"
msgstr "%s: Subjekt nije određen\n"
#. Translators: message shown when trying to run a program as root. Do not
#. * translate the $(program) fragment - it will be expanded to the path
#. * of the program e.g. /bin/bash.
#.
#: ../src/programs/pkexec.c:797
msgid "Authentication is needed to run `$(program)' as the super user"
msgstr "Potrebna je ovjera za pokretanje `$(program)' kao super korisnika"
#. Translators: message shown when trying to run a program as another user.
#. * Do not translate the $(program) or $(user) fragments - the former will
#. * be expanded to the path of the program e.g. "/bin/bash" and the latter
#. * to the user e.g. "John Doe (johndoe)" or "johndoe".
#.
#: ../src/programs/pkexec.c:807
msgid "Authentication is needed to run `$(program)' as user $(user.display)"
msgstr ""
"Potrebna je ovjera za pokretanje `$(program)' kao korisnika $(user.display)"
#: ../src/programs/pkttyagent.c:45
msgid "Don't replace existing agent if any"
msgstr "Ne zamjenjuj postojećeg agenta ako postoji"
#: ../src/programs/pkttyagent.c:49
msgid "Close FD when the agent is registered"
msgstr "Zatvori FD kada je agent registriran"
#: ../src/programs/pkttyagent.c:49
msgid "FD"
msgstr "FD"
#: ../src/programs/pkttyagent.c:53
msgid "Register the agent for the specified process"
msgstr "Registriraj agenta za određeni proces"
#: ../src/programs/pkttyagent.c:54
msgid "PID[,START_TIME]"
msgstr "PID[,POČETNO_VRIJEME]"
#: ../src/programs/pkttyagent.c:58
msgid "Register the agent owner of BUS_NAME"
msgstr "Registriraj vlasnika agenta BUS_NAZIVA"
#: ../src/programs/pkttyagent.c:58
msgid "BUS_NAME"
msgstr "BUS_NAZIV"
#: ../src/programs/pkttyagent.c:131
#, c-format
msgid "%s: Invalid process specifier `%s'\n"
msgstr "%s: Neispravan razvrstač procesa `%s'\n"
# Hungarian translation for polkit
# Copyright (C) 2016. Free Software Foundation, Inc.
# This file is distributed under the same license as the polkit package.
#
# Gabor Kelemen <kelemeng at ubuntu dot com>, 2016.
msgid ""
msgstr ""
"Project-Id-Version: polkit\n"
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?"
"product=PolicyKit&keywords=I18N+L10N&component=libpolkit\n"
"POT-Creation-Date: 2016-01-23 02:19+0000\n"
"PO-Revision-Date: 2016-01-23 14:43+0100\n"
"Last-Translator: Gabor Kelemen <kelemeng at ubuntu dot com>\n"
"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
"Language: hu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 1.5\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../actions/org.freedesktop.policykit.policy.in.h:1
msgid "Run a program as another user"
msgstr "Program futtatása másik felhasználóként"
#: ../actions/org.freedesktop.policykit.policy.in.h:2
msgid "Authentication is required to run a program as another user"
msgstr "Hitelesítés szükséges a program futtatásához másik felhasználóként"
#: ../src/examples/org.freedesktop.policykit.examples.pkexec.policy.in.h:1
msgid "Run the polkit example program Frobnicate"
msgstr "Frobnicate polkit példaprogram futtatása"
#: ../src/examples/org.freedesktop.policykit.examples.pkexec.policy.in.h:2
msgid ""
"Authentication is required to run the polkit example program Frobnicate "
"(user=$(user), user.gecos=$(user.gecos), user.display=$(user.display), "
"program=$(program), command_line=$(command_line))"
msgstr ""
"Hitelesítés szükséges a Frobnicate polkit példaprogram futtatásához "
"(user=$(user), user.gecos=$(user.gecos), user.display=$(user.display), "
"program=$(program), command_line=$(command_line))"
#: ../src/programs/pkaction.c:100
msgid "Only output information about ACTION"
msgstr "Csak a MŰVELETRŐL írjon ki információkat"
#: ../src/programs/pkaction.c:100
msgid "ACTION"
msgstr "MŰVELET"
#: ../src/programs/pkaction.c:104
msgid "Output detailed action information"
msgstr "Részletes műveletinformációk megjelenítése"
#: ../src/programs/pkaction.c:108 ../src/programs/pkttyagent.c:61
msgid "Show version"
msgstr "Verziószám megjelenítése"
#: ../src/programs/pkaction.c:130
msgid "[--action-id ACTION]"
msgstr "[--action-id MŰVELET]"
#: ../src/programs/pkaction.c:131 ../src/programs/pkttyagent.c:81
#, c-format
msgid ""
"Report bugs to: %s\n"
"%s home page: <%s>"
msgstr ""
"A hibák itt jelenthetők: %s\n"
"A %s honlapja: <%s>"
#: ../src/programs/pkaction.c:145 ../src/programs/pkcheck.c:491
#: ../src/programs/pkttyagent.c:95
#, c-format
msgid "%s: Unexpected argument `%s'\n"
msgstr "%s: váratlan argumentum: „%s”\n"
#: ../src/programs/pkcheck.c:35
#, c-format
msgid ""
"Usage:\n"
" pkcheck [OPTION...]\n"
"\n"
"Help Options:\n"
" -h, --help Show help options\n"
"\n"
"Application Options:\n"
" -a, --action-id=ACTION Check authorization to perform ACTION\n"
" -u, --allow-user-interaction Interact with the user if necessary\n"
" -d, --details=KEY VALUE Add (KEY, VALUE) to information about "
"the action\n"
" --enable-internal-agent Use an internal authentication agent if "
"necessary\n"
" --list-temp List temporary authorizations for "
"current session\n"
" -p, --process=PID[,START_TIME,UID] Check authorization of specified "
"process\n"
" --revoke-temp Revoke all temporary authorizations for "
"current session\n"
" -s, --system-bus-name=BUS_NAME Check authorization of owner of "
"BUS_NAME\n"
" --version Show version\n"
"\n"
"Report bugs to: %s\n"
"%s home page: <%s>\n"
msgstr ""
"Használat:\n"
" pkcheck [KAPCSOLÓ…]\n"
"\n"
"Súgó kapcsolói:\n"
" -h, --help Súgókapcsolók megjelenítése\n"
"\n"
"Alkalmazás kapcsolói:\n"
" -a, --action-id=MŰVELET A MŰVELET elvégzésére való "
"felhatalmazás\n"
" ellenőrzése\n"
" -u, --allow-user-interaction Felhasználóval való párbeszéd\n"
" engedélyezése, ha szükséges\n"
" -d, --details=KULCS ÉRTÉK A (KULCS, ÉRTÉK) hozzáadása a "
"művelettel\n"
" kapcsolatos információkhoz\n"
" --enable-internal-agent Belső hitelesítési ügynök használata, "
"ha\n"
" szükséges\n"
" --list-temp Ideiglenes felhatalmazások felsorolása "
"az\n"
" aktuális munkamenethez\n"
" -p, --process=PID[,INDÍTÁSI_IDŐ,UID] A megadott folyamat "
"felhatalmazásának\n"
" ellenőrzése\n"
" --revoke-temp Minden ideiglenes felhatalmazás "
"visszavonása\n"
" az aktuális munkamenetből\n"
" -s, --system-bus-name=BUSZNÉV A BUSZNÉV tulajdonosának "
"felhatalmazásának\n"
" ellenőrzése\n"
" --version Verziószám kiírása\n"
"\n"
"A hibák itt jelenthetők: %s\n"
"A %s honlapja: <%s>\n"
#: ../src/programs/pkcheck.c:391 ../src/programs/pkcheck.c:424
#: ../src/programs/pkcheck.c:436
#, c-format
msgid "%s: Argument expected after `%s'\n"
msgstr "%s: argumentum szükséges a következő után: „%s”\n"
#: ../src/programs/pkcheck.c:414
#, c-format
msgid "%s: Invalid --process value `%s'\n"
msgstr "%s: Érvénytelen --process érték: „%s”\n"
#: ../src/programs/pkcheck.c:451 ../src/programs/pkcheck.c:460
#, c-format
msgid "%s: Two arguments expected after `--detail'\n"
msgstr "%s: Két argumentum szükséges a „--detail” után\n"
#: ../src/programs/pkcheck.c:521
#, c-format
msgid "%s: Subject not specified\n"
msgstr "%s: Nincs megadva az alany\n"
#. Translators: message shown when trying to run a program as root. Do not
#. * translate the $(program) fragment - it will be expanded to the path
#. * of the program e.g. /bin/bash.
#.
#: ../src/programs/pkexec.c:794
msgid "Authentication is needed to run `$(program)' as the super user"
msgstr "Hitelesítés szükséges a(z) „$(program)” futtatásához rendszergazdaként"
#. Translators: message shown when trying to run a program as another user.
#. * Do not translate the $(program) or $(user) fragments - the former will
#. * be expanded to the path of the program e.g. "/bin/bash" and the latter
#. * to the user e.g. "John Doe (johndoe)" or "johndoe".
#.
#: ../src/programs/pkexec.c:804
msgid "Authentication is needed to run `$(program)' as user $(user.display)"
msgstr ""