summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-02 10:31:11 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-02 10:31:11 +0000
commite7d68d879571ae2e5a3301da94c18c3f9151cec0 (patch)
treea41aa9b5e6fefe681bbf2bf2d7d3ae9682d64e61 /perl-install/install2.pm
parent74e89d3c3ee6e4d083edf5a8633793f1ba77ab84 (diff)
downloaddrakx-backup-do-not-use-e7d68d879571ae2e5a3301da94c18c3f9151cec0.tar
drakx-backup-do-not-use-e7d68d879571ae2e5a3301da94c18c3f9151cec0.tar.gz
drakx-backup-do-not-use-e7d68d879571ae2e5a3301da94c18c3f9151cec0.tar.bz2
drakx-backup-do-not-use-e7d68d879571ae2e5a3301da94c18c3f9151cec0.tar.xz
drakx-backup-do-not-use-e7d68d879571ae2e5a3301da94c18c3f9151cec0.zip
no_comment
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');