liveusb-creator.console liveusb-creator.pam liveusb-creator.policy MANIFEST setup.py
Kushal Das
kushal at fedoraproject.org
Wed Aug 13 16:38:27 UTC 2008
MANIFEST | 3 ++-
liveusb-creator.console | 5 +++++
liveusb-creator.pam | 5 +++++
liveusb-creator.policy | 16 ----------------
setup.py | 3 +--
5 files changed, 13 insertions(+), 19 deletions(-)
New commits:
commit 7e199c7a6702500cffc051694324f8fce43b13db
Author: Kushal Das <kdas at d80.(none)>
Date: Wed Aug 13 22:06:02 2008 +0530
moved to consolehelper to have root power
diff --git a/MANIFEST b/MANIFEST
index e8d702d..eb4aa48 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -16,4 +16,5 @@ liveusb/urlgrabber/mirror.py
liveusb/urlgrabber/progress.py
data/liveusb-creator.desktop
data/fedora.ico
-liveusb-creator.policy
+liveusb-creator.console
+liveusb-creator.pam
diff --git a/liveusb-creator.console b/liveusb-creator.console
new file mode 100644
index 0000000..52b46e0
--- /dev/null
+++ b/liveusb-creator.console
@@ -0,0 +1,5 @@
+USER=root
+PROGRAM=/usr/sbin/liveusb-creator
+SESSION=true
+FALLBACK=true
+
diff --git a/liveusb-creator.pam b/liveusb-creator.pam
new file mode 100644
index 0000000..df41b4c
--- /dev/null
+++ b/liveusb-creator.pam
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include config-util
+account include config-util
+session include config-util
+
diff --git a/liveusb-creator.policy b/liveusb-creator.policy
deleted file mode 100644
index d59c880..0000000
--- a/liveusb-creator.policy
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE policyconfig PUBLIC
- "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
-<policyconfig>
-
- <action id="org.fedoraproject.config.liveusb-creator.run-as-root">
- <description>Create a LiveUSB as supper user</description>
- <message>System policy prevents the liveusb-creator application</message>
- <defaults>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin</allow_active>
- </defaults>
- <annotate key="org.freedesktop.PolicyKit.run-as-superuser.path">/usr/bin/liveusb-creator</annotate>
- </action>
-</policyconfig>
diff --git a/setup.py b/setup.py
index 0f54145..8e5c4ec 100644
--- a/setup.py
+++ b/setup.py
@@ -54,8 +54,7 @@ else:
maintainer = 'Luke Macken',
maintainer_email = 'lmacken at redhat.com',
data_files = [("/usr/share/applications",["data/liveusb-creator.desktop"]),
- ('/usr/share/pixmaps',["data/fedora.ico"]),
- ('/usr/share/PolicyKit/policy',["liveusb-creator.policy"])
+ ('/usr/share/pixmaps',["data/fedora.ico"])
]
)
More information about the liveusb-creator
mailing list