MESSAGE -> README and greatly extend documentation in the process.

This commit is contained in:
ajacoutot 2011-06-01 12:23:53 +00:00
parent e5e8d25a93
commit f20ba91c44
4 changed files with 33 additions and 17 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.20 2011/05/22 13:34:19 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.21 2011/06/01 12:23:53 ajacoutot Exp $
COMMENT= framework for granting privileged operations to users
DISTNAME= polkit-0.101
REVISION= 2
REVISION= 3
SHARED_LIBS += polkit-gobject-1 1.0 # .0.0
SHARED_LIBS += polkit-backend-1 1.0 # .0.0

View File

@ -1,11 +0,0 @@
polkitd(8) runs setuid(2) root in order to allow applications
to request additional fine-grained privileges (e.g. adjust the clock,
change timezone...). Access to these privileges is controlled by policy
files and user passwords.
If you'd like to completely disable privilege granting through the
PolicyKit framework, create the file:
${SYSCONFDIR}/polkit-1/nullbackend.conf.d/99-nullbackend.conf
containing the following lines:
[Configuration]
Priority=99

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.7 2011/05/21 05:00:07 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.8 2011/06/01 12:23:53 ajacoutot Exp $
%%SHARED%%
@bin bin/pk-example-frobnicate
@bin bin/pkaction
@ -54,7 +54,6 @@ lib/libpolkit-backend-1.a
lib/libpolkit-backend-1.la
lib/libpolkit-gobject-1.a
lib/libpolkit-gobject-1.la
lib/pkgconfig/
lib/pkgconfig/polkit-agent-1.pc
lib/pkgconfig/polkit-backend-1.pc
lib/pkgconfig/polkit-gobject-1.pc
@ -74,9 +73,8 @@ lib/polkit-1/extensions/
@man man/man8/pklocalauthority.8
@man man/man8/polkit.8
@man man/man8/polkitd.8
share/dbus-1/
share/dbus-1/system-services/
share/dbus-1/system-services/org.freedesktop.PolicyKit1.service
share/doc/pkg-readmes/${FULLPKGNAME}
share/examples/polkit/
share/examples/polkit/dbus-1/
@sample ${SYSCONFDIR}/dbus-1/

View File

@ -0,0 +1,29 @@
$OpenBSD: README,v 1.1 2011/06/01 12:23:53 ajacoutot Exp $
Running polkit on OpenBSD
=========================
In most situations, PolicyKit will require a session to be marked as
"active" before granting privileges. This is done using ConsoleKit, so
you will most likely want to install the consolekit package along with
polkit.
On OpenBSD, the following identities are setup by default:
Administrative users -> "wheel" group
Standard users -> "users" group
Disabling polkit
----------------
If you'd like to completely disable privilege granting through the
PolicyKit framework, create the file:
${SYSCONFDIR}/polkit-1/nullbackend.conf.d/99-nullbackend.conf
containing the following lines:
[Configuration]
Priority=99
Security considerations
-----------------------
polkitd(8) runs setuid(2) root in order to allow applications
to request additional fine-grained privileges (e.g. adjust the clock,
change the timezone...). Access to these privileges is controlled by
policy files and user passwords.