summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2002-07-21 16:17:21 +0000
committerMystery Man <unknown@mandriva.org>2002-07-21 16:17:21 +0000
commit44367b004bf899c07a6cc0ceec8b25e867996439 (patch)
treec5f60a00b24fba0db77ad255ca60ab80411a5f51 /perl-install/standalone/draksec
parent38b509596410b559a4ba2718cbffa8ee65d81a6b (diff)
downloaddrakx-1_1_8_8mdk.tar
drakx-1_1_8_8mdk.tar.gz
drakx-1_1_8_8mdk.tar.bz2
drakx-1_1_8_8mdk.tar.xz
drakx-1_1_8_8mdk.zip
This commit was manufactured by cvs2svn to create tag 'V1_1_8_8mdk'.V1_1_8_8mdk
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-xperl-install/standalone/draksec33
1 files changed, 0 insertions, 33 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
deleted file mode 100755
index 6af60a0b1..000000000
--- a/perl-install/standalone/draksec
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/perl
-
-use lib qw(/usr/lib/libDrakX);
-
-use standalone; #- warning, standalone must be loaded very first, for 'explanations'
-
-use common;
-use interactive;
-use log;
-use security::msec;
-
-local $_ = join '', @ARGV;
-
-
-/-h/ and die "usage: draksec [--expert]\n";
-
-$::expert = /-expert/ || cat_("/etc/sysconfig/system") =~ /^CLASS="?expert/m; #"
-$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/;
-
-my $in = 'interactive'->vnew('su', 'security');
-
-begin:
-$::isEmbedded and kill USR2, $::CCPID;
-
-my $security = security::msec::get_secure_level('');
-my $libsafe = security::msec::config_libsafe('');
-my $sec_user = security::msec::config_security_user('');
-my $w;
-
-security::main($in, $security, $sec_user);
-
-!$::isEmbedded ? $in->exit(0) : kill(USR1, $::CCPID);
-goto begin;