summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-01 19:24:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-01 19:24:22 +0000
commit09ab8b630118288b3e227be86c026d1f1f27d93f (patch)
tree3e9807eedeffe6de51703995813cbfc8b99c3756 /perl-install
parent79b414e04616b0788e1c2d6ba274e3fc3a7a0f68 (diff)
downloaddrakx-backup-do-not-use-09ab8b630118288b3e227be86c026d1f1f27d93f.tar
drakx-backup-do-not-use-09ab8b630118288b3e227be86c026d1f1f27d93f.tar.gz
drakx-backup-do-not-use-09ab8b630118288b3e227be86c026d1f1f27d93f.tar.bz2
drakx-backup-do-not-use-09ab8b630118288b3e227be86c026d1f1f27d93f.tar.xz
drakx-backup-do-not-use-09ab8b630118288b3e227be86c026d1f1f27d93f.zip
create symlink /etc/security/msec/server in security > 3
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index a2a43e6dc..25f8a0942 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -926,6 +926,10 @@ sub miscellaneousBefore {
$o->{security} ||= $s{SECURITY} if exists $s{SECURITY};
$ENV{SECURE_LEVEL} = $o->{security};
+
+ mkdir_p("$o->{prefix}/etc/sysconfig/msec");
+ symlink "server.$o->{security}", "/etc/security/msec/server" if $o->{security} > 3;
+
add2hash_ $o, { useSupermount => 1 && $o->{security} < 4 && arch() !~ /sparc/ && !$::corporate };
add2hash_($o->{miscellaneous} ||= {}, { numlock => !$o->{pcmcia} });