diff options
author | damien <damien@mandriva.com> | 2001-01-03 11:15:19 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-01-03 11:15:19 +0000 |
commit | 6ca709697a6bc12af4def0ecdd7872625e4b4dc8 (patch) | |
tree | 19492fd607d2c8ef7df8a1068fd7365941b62d43 | |
parent | ae0dc40f3a45a6c517f03657378c519a4ee7b3a6 (diff) | |
download | drakx-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.pm | 2 |
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" ], [ |