From 8e5cdf214200f3a7c603aa19d30b163b6bf88e16 Mon Sep 17 00:00:00 2001 From: Anne Nicolas Date: Fri, 27 May 2011 13:20:27 +0000 Subject: fix default level being 'standard' (Thierry Vignaud) --- perl-install/security/level.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/security') diff --git a/perl-install/security/level.pm b/perl-install/security/level.pm index 51fe4b853..b12caf19e 100644 --- a/perl-install/security/level.pm +++ b/perl-install/security/level.pm @@ -32,7 +32,7 @@ sub get_common_list() { map { to_string($_) } (1, 2, 3, 4, 5) } sub get() { my $level = ${{ getVarsFromSh("$::prefix/etc/security/msec/security.conf") }}{BASE_LEVEL} || #- 2009.1 msec - 1; + "standard"; from_lowlevel_string($level); } @@ -42,7 +42,7 @@ sub set { # use Standard level if specified level is out of range $security = 1 if $security > $#levelnames; run_program::rooted($::prefix, 'msec', '-q', '-f', @levelnames[$security]); - run_program::rooted($::prefix, 'msecperms', '-q', '-e', '-f', @levelnames[$security]); + run_program::rooted($::prefix, 'msecperms', '-q', '-e', @levelnames[$security]); } sub level_choose { -- cgit v1.2.1