diff options
author | Thomas Haller <thaller@redhat.com> | 2014-08-14 13:34:57 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-09-29 13:51:11 +0200 |
commit | eabe7d856c243673bbaba3295ce74d72e188596d (patch) | |
tree | 3c85e2d33dace5f644d8e605fd47f02d3367372c /man | |
parent | 63a8c6a184a58176b656d9e22f99a280682e0e5f (diff) | |
download | NetworkManager-eabe7d856c243673bbaba3295ce74d72e188596d.tar.gz |
auth: rework polkit autorization to use DBUS interface directly
This makes NetworkManager independent of <polkit/polkit.h>
development headers and libpolkit-gobject-1.so library.
Instead communicate directly with polkit using its DBUS
interface.
PolicyKit support is now always compiled in. You can control
polkit authorization with the configuration option
[main]
auth-polkit=yes|no
If the configure option is omitted, a build time default
value is used. This default value can be set with the
configure option --enable-polkit.
This commit adds a new class NMAuthManager that reimplements the
relevant DBUS client parts. It takes source code from the polkit
library.
https://bugzilla.gnome.org/show_bug.cgi?id=734146
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/NetworkManager.conf.xml.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/man/NetworkManager.conf.xml.in b/man/NetworkManager.conf.xml.in index c017822e3f..06aa403a8b 100644 --- a/man/NetworkManager.conf.xml.in +++ b/man/NetworkManager.conf.xml.in @@ -123,6 +123,14 @@ Copyright (C) 2010 - 2013 Red Hat, Inc. connection files any time they changed.</para></listitem> </varlistentry> <varlistentry> + <term><varname>auth-polkit</varname></term> + <listitem><para>Whether the system uses PolicyKit for authorization. + If <literal>false</literal>, all requests will be allowed. If + <literal>true</literal>, non-root requests are authorized using PolicyKit. + The default value is <literal>@NM_CONFIG_DEFAULT_AUTH_POLKIT_TEXT@</literal>. + </para></listitem> + </varlistentry> + <varlistentry> <term><varname>dhcp</varname></term> <listitem><para>This key sets up what DHCP client NetworkManager will use. Presently |