diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-12-02 10:31:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-12-02 10:31:11 +0000 |
commit | e7d68d879571ae2e5a3301da94c18c3f9151cec0 (patch) | |
tree | a41aa9b5e6fefe681bbf2bf2d7d3ae9682d64e61 /perl-install/install2.pm | |
parent | 74e89d3c3ee6e4d083edf5a8633793f1ba77ab84 (diff) | |
download | drakx-e7d68d879571ae2e5a3301da94c18c3f9151cec0.tar drakx-e7d68d879571ae2e5a3301da94c18c3f9151cec0.tar.gz drakx-e7d68d879571ae2e5a3301da94c18c3f9151cec0.tar.bz2 drakx-e7d68d879571ae2e5a3301da94c18c3f9151cec0.tar.xz drakx-e7d68d879571ae2e5a3301da94c18c3f9151cec0.zip |
no_comment
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r-- | perl-install/install2.pm | 7 |
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'); |