hal/privileges Makefile.am, NONE, 1.1 hal-power-hibernate.privilege, NONE, 1.1 hal-power-poweroff.privilege, NONE, 1.1 hal-power-reboot.privilege, NONE, 1.1 hal-power-suspend.privilege, NONE, 1.1 hal-storage-fixed-mount-all-options.privilege, NONE, 1.1 hal-storage-fixed-mount.privilege, NONE, 1.1 hal-storage-removable-mount-all-options.privilege, NONE, 1.1 hal-storage-removable-mount.privilege, NONE, 1.1

David Zeuthen david at kemper.freedesktop.org
Mon Jun 5 16:56:02 PDT 2006


Update of /cvs/hal/hal/privileges
In directory kemper:/tmp/cvs-serv27813/privileges

Added Files:
	Makefile.am hal-power-hibernate.privilege 
	hal-power-poweroff.privilege hal-power-reboot.privilege 
	hal-power-suspend.privilege 
	hal-storage-fixed-mount-all-options.privilege 
	hal-storage-fixed-mount.privilege 
	hal-storage-removable-mount-all-options.privilege 
	hal-storage-removable-mount.privilege 
Log Message:
2006-06-05  David Zeuthen  <davidz at redhat.com>

        * hald/hald_dbus.c:
        (hald_exec_method): Export a new environment variable with the
        unique name for callers system bus connection called
        HAL_METHOD_INVOKED_BY_SYSTEMBUS_CONNECTION_NAME

        * policy/*: Move these to privileges instead

        * privileges/*: Moved from policy/txt/*

        * Makefile.am: Fix up subdirs

        * configure.in: Adjust for new dirs and remove comment about
        libhal-policy. Require PolicyKit >= 0.2 (which is polkit CVS).
        Don't read weird options from the polkit pc file.

        * tools/*: Update to new PolicyKit API and DTRT so things work
        using hald/run-hald.sh



--- NEW FILE: Makefile.am ---

polkit_privilegedir = $(sysconfdir)/PolicyKit/privilege.d

dist_polkit_privilege_DATA =                              \
	hal-storage-fixed-mount.privilege                 \
	hal-storage-fixed-mount-all-options.privilege     \
	hal-storage-removable-mount.privilege             \
	hal-storage-removable-mount-all-options.privilege \
	hal-power-suspend.privilege                       \
	hal-power-hibernate.privilege                     \
	hal-power-poweroff.privilege                      \
	hal-power-reboot.privilege

clean-local :
	rm -f *~

--- NEW FILE: hal-power-hibernate.privilege ---

# This privilege specifies who is allowed to hibernate the system.

[Privilege]
RequiredPrivileges=desktop-console
SufficientPrivileges=
Allow=uid:__all__
Deny=
CanObtain=True
CanGrant=True
ObtainRequireRoot=False

--- NEW FILE: hal-power-poweroff.privilege ---

# This privilege specifies who is allowed to power off the system.

[Privilege]
RequiredPrivileges=desktop-console
SufficientPrivileges=
Allow=uid:__all__
Deny=
CanObtain=True
CanGrant=True
ObtainRequireRoot=False

--- NEW FILE: hal-power-reboot.privilege ---

# This privilege specifies who is allowed to reboot the system.

[Privilege]
RequiredPrivileges=desktop-console
SufficientPrivileges=
Allow=uid:__all__
Deny=
CanObtain=True
CanGrant=True
ObtainRequireRoot=False


--- NEW FILE: hal-power-suspend.privilege ---

# This privilege specifies who is allowed to suspend the system.

[Privilege]
RequiredPrivileges=desktop-console
SufficientPrivileges=
Allow=uid:__all__
Deny=
CanObtain=True
CanGrant=True
ObtainRequireRoot=False


--- NEW FILE: hal-storage-fixed-mount-all-options.privilege ---

# This privilege specifies what users can mount volumes from internal
# drives using mount options besides those specified in the
# volume.mount.valid_options on the volume in question (such as
# uid=<userid>).

[Privilege]
RequiredPrivileges=desktop-console
SufficientPrivileges=
Allow=
Deny=
CanObtain=True
CanGrant=True
ObtainRequireRoot=True

--- NEW FILE: hal-storage-fixed-mount.privilege ---

# This privilege specifies what users can mount volumes from internal
# drives using only the mount options as specified by the property
# volume.mount.valid_options on the volume in question. If mount
# options besides these are needed, one will need the privilege
# hal-storage-fixed-mount-all-options.privilege.
#

[Privilege]
RequiredPrivileges=desktop-console
SufficientPrivileges=
Allow=
Deny=
CanObtain=True
CanGrant=True
ObtainRequireRoot=True

--- NEW FILE: hal-storage-removable-mount-all-options.privilege ---

# This privilege specifies what users can mount volumes from removable
# or hotpluggable drives using mount options besides those specified
# in the volume.mount.valid_options on the volume in question (such as
# uid=<userid>).

[Privilege]
RequiredPrivileges=desktop-console
SufficientPrivileges=
Allow=
Deny=
CanObtain=True
CanGrant=True
ObtainRequireRoot=False

--- NEW FILE: hal-storage-removable-mount.privilege ---

# This privilege specifies what users can mount volumes from removable
# or hotpluggable drives using only the mount options as specified by
# the property volume.mount.valid_options on the volume in
# question. If mount options besides these are needed, one will need
# the privilege hal-removable-fixed-mount-all-options.privilege.

[Privilege]
RequiredPrivileges=desktop-console
SufficientPrivileges=
Allow=uid:__all__
Deny=
CanObtain=True
CanGrant=True
ObtainRequireRoot=False




More information about the hal-commit mailing list