summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index d714d08e7..635aae38f 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -595,8 +595,13 @@ sub main {
last if $o->{step} eq 'exitInstall';
}
- substInFile { s|/sbin/mingetty tty1.*|/bin/bash --login| } "$o->{prefix}/etc/inittab" if $o->{security} < 1;
+ substInFile { s|/sbin/mingetty tty1.*|/bin/bash --login| } "$o->{prefix}/etc/inittab" if $o->{security} < 1;
+
+ output("$o->{prefix}/tmp/secure.DrakX",
+ "DRAKX_PASSWORD=$o->{lilo}{password}\n",
+ 'DRAKX_USERS="', join(" ", map { $_->{name} } @{$o->{users} || []}), qq("\n));
run_program::rooted($o->{prefix}, "/etc/security/msec/init.sh", $o->{security});
+# unlink "$o->{prefix}/tmp/secure.DrakX";
fs::write($o->{prefix}, $o->{fstab}, $o->{manualFstab});
modules::write_conf("$o->{prefix}/etc/conf.modules", 'append');