From d85cfc53e51bc296ed438ed1e315140e0542fae8 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 1 Sep 2013 14:07:09 +0100 Subject: 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. As pkexec does not like being run from a forked process, the forking in the wrapper when running under X has been dropped. mga#11125 --- drakxconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drakxconf') diff --git a/drakxconf b/drakxconf index fae4fc7c..3d2bfee2 100755 --- a/drakxconf +++ b/drakxconf @@ -17,7 +17,7 @@ delete $ENV{DISPLAY}; /-h/ and die "usage: drakxconf\n"; /-version/ and die 'version: $Id: drakxconf 254567 2009-03-23 09:22:59Z tv $\n'; -my $in = 'interactive'->vnew('su', 'default'); +my $in = 'interactive'->vnew; my @l = map { my $path; -- cgit v1.2.1