diff options
author | Matteo Pasotti <matteo@mageia.org> | 2013-01-04 16:05:27 +0000 |
---|---|---|
committer | Matteo Pasotti <matteo@mageia.org> | 2013-01-04 16:05:27 +0000 |
commit | d518bf66f9630aeb1995e8e3f39a78b9261d9433 (patch) | |
tree | cd9d5e1c961de09a343cab9539e6b88c02b68666 /AdminPanel/Privileges.pm | |
parent | 7ccae56fe4372edbda0fe2be84a90141aa9a4bd4 (diff) | |
download | manatools-d518bf66f9630aeb1995e8e3f39a78b9261d9433.tar manatools-d518bf66f9630aeb1995e8e3f39a78b9261d9433.tar.gz manatools-d518bf66f9630aeb1995e8e3f39a78b9261d9433.tar.bz2 manatools-d518bf66f9630aeb1995e8e3f39a78b9261d9433.tar.xz manatools-d518bf66f9630aeb1995e8e3f39a78b9261d9433.zip |
- AdminPanel/Privileges.pm: added support to pam / consolehelper
- extras/README: added info to configure pam for apanel
- apanel.pl: using pam as default
Diffstat (limited to 'AdminPanel/Privileges.pm')
-rw-r--r-- | AdminPanel/Privileges.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/AdminPanel/Privileges.pm b/AdminPanel/Privileges.pm index b1d4ef74..f6db9d41 100644 --- a/AdminPanel/Privileges.pm +++ b/AdminPanel/Privileges.pm @@ -28,13 +28,17 @@ use English qw(-no_match_vars); our @EXPORT = qw(require_root_capability ask_for_authentication $USE_SUDO - $USE_PKIT); + $USE_PKIT + $USE_CHLP); our $USE_SUDO = 1; our $USE_PKIT = 2; +our $USE_CHLP = 3; my $wrappers = { $USE_SUDO => "sudo", - $USE_PKIT => "pkexec" }; + $USE_PKIT => "pkexec", + $USE_CHLP => "consolehelper" + }; my $wrapper = 0; |