summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-20 00:05:37 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-20 00:05:37 +0000
commit73664f3bb1816f30dfe94f41ea6241a9c5328114 (patch)
tree5d2278393b17bb855173b88c47f85d153624cf9f /perl-install/standalone/draksec
parent3fae0b21431abe463ca6bfa2746d48d6a6756aa4 (diff)
downloaddrakx-backup-do-not-use-73664f3bb1816f30dfe94f41ea6241a9c5328114.tar
drakx-backup-do-not-use-73664f3bb1816f30dfe94f41ea6241a9c5328114.tar.gz
drakx-backup-do-not-use-73664f3bb1816f30dfe94f41ea6241a9c5328114.tar.bz2
drakx-backup-do-not-use-73664f3bb1816f30dfe94f41ea6241a9c5328114.tar.xz
drakx-backup-do-not-use-73664f3bb1816f30dfe94f41ea6241a9c5328114.zip
no_comment
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-xperl-install/standalone/draksec3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 04d332541..2eb11319c 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -29,7 +29,10 @@ delete @l{0,1,5} unless $::expert;
if (my $level = $in->ask_from_list('', _("Choose security level"), [ values %l ], $l{$ENV{SECURE_LEVEL}})) {
my $w = $in->wait_message('', _("Setting security level"));
$in->suspend;
+
+ $ENV{LILO_PASSWORD} = ''; # make it non interactive
system("/etc/security/msec/init.sh ". $m{$level});
+
$in->resume;
}