summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-01-03 11:15:19 +0000
committerdamien <damien@mandriva.com>2001-01-03 11:15:19 +0000
commit6ca709697a6bc12af4def0ecdd7872625e4b4dc8 (patch)
tree19492fd607d2c8ef7df8a1068fd7365941b62d43
parentae0dc40f3a45a6c517f03657378c519a4ee7b3a6 (diff)
downloaddrakx-6ca709697a6bc12af4def0ecdd7872625e4b4dc8.tar
drakx-6ca709697a6bc12af4def0ecdd7872625e4b4dc8.tar.gz
drakx-6ca709697a6bc12af4def0ecdd7872625e4b4dc8.tar.bz2
drakx-6ca709697a6bc12af4def0ecdd7872625e4b4dc8.tar.xz
drakx-6ca709697a6bc12af4def0ecdd7872625e4b4dc8.zip
admin user removed before beeing added
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 42faefeff..253f26bb9 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -842,6 +842,8 @@ sub addUser {
}
if ($o->{meta_class} eq 'firewall') {
my $v;
+ my $p = $o->{prefix};
+ substInFile { /^admin:/ and $_=''; } "$p/etc/passwd";
$v->{shell} ||= "/bin/bash";
$o->ask_from_entries_refH([_("Set admin password"), _("Ok"), $o->{security} > 2 || $::corporate ? () : _("No password")],
[ _("Set admin password"), "\n" ], [