diff options
author | Colin Guthrie <colin@mageia.org> | 2013-09-04 20:15:38 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-09-06 15:29:45 +0100 |
commit | c9ecd03156418390fa28b12825beb90626709c95 (patch) | |
tree | 4971c41238f93ab3297d431aaf9e2fe9fe999278 /perl-install/polkit/wrappers/drakups | |
parent | b7fa02336d4bfe8b9391d08ad0b6554a68a673e3 (diff) | |
download | drakx-c9ecd03156418390fa28b12825beb90626709c95.tar drakx-c9ecd03156418390fa28b12825beb90626709c95.tar.gz drakx-c9ecd03156418390fa28b12825beb90626709c95.tar.bz2 drakx-c9ecd03156418390fa28b12825beb90626709c95.tar.xz drakx-c9ecd03156418390fa28b12825beb90626709c95.zip |
Convert to polkit from usermode consolehelper for gaining root privileges
polkit is better integrated into various environments, both console and GUI
and offers better access rules and prevents the internal need to run
su which is prone to errors and doesn't offer an environment agnostic
prompt to the user.
In this case the current package policy (in rpm spec) has been migrated
here and is as follows:
drakclock requires no authentication to run (just a console login)
drakfont requires authentication as the current user.
drakups, drakauth, draklog and drakxservices require authentication as and
administrator.
Diffstat (limited to 'perl-install/polkit/wrappers/drakups')
-rwxr-xr-x | perl-install/polkit/wrappers/drakups | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/polkit/wrappers/drakups b/perl-install/polkit/wrappers/drakups new file mode 100755 index 000000000..e2c892b64 --- /dev/null +++ b/perl-install/polkit/wrappers/drakups @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/pkexec /usr/libexec/drakups $* |